Thread: adding images
View Single Post
  #8  
Old 04-09-2011, 10:50 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 64,461
Nemesis is on a distinguished road
Default

Ok ok making some progress now. Sorry for a mess of a thread but I am finnally starting to actually learn css and these template.html's

but i think i see a huge problem. If i was to changes hosts wouldn't that break all those image links? i plan on adding tons of different pictures, different ones on each page. So instead of linking them by domain is there a way to do say variables? like DOMAIN/templates/images/img.png. the folders shouldn't change but my domain will so what do webmasters do instead of tediously changing all of the old domain names to the current?

Edit: ok ya thinking about it how would i declare domain equals at the top, i guess in the template.html. that way if a domain name change were to occur i would just change x in domain = x. Forgive me for only have taken a python course and Google can be hard to use for such problems.

Last edited by Nemesis; 04-09-2011 at 10:53 PM.
Reply With Quote