You are here: Re: Setting the src location only 1 time in the beginning for ALL graphics?? « HTML « IT news, forums, messages
Re: Setting the src location only 1 time in the beginning for ALL graphics??

Posted by Jose on 10/16/11 11:43

The simple way to shrink the url size for pictures is to put all the
pictures in a subdirectory of your site (a subdirectory off the
directory in which the referring page lives). Then you can use relative
URLs. For example
href=images/pic1.jpg
would refer to pic1.jpg, stored in the images folder of your site.

You could dump all the pictures in the root of your site, letting you use
href=pic1.jpg
but that gets messy.

Jose
--
Nothing takes longer than a shortcut.
for Email, make the obvious change in the address.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация