Difference between revisions of "Zend Image Root Path"
From mi-linux
Jump to navigationJump to search (New page: If you don't want to use an external web host for images that are contained in your website, it's quite easy to do it through your root folders. 1) Copy all images that you want to be st...) |
|||
Line 16: | Line 16: | ||
4) Zend will now look for the image in the public folder allowing you to controll all your own images rather than an external image hosting website. | 4) Zend will now look for the image in the public folder allowing you to controll all your own images rather than an external image hosting website. | ||
+ | |||
+ | By Adam Orton 0708875 |
Latest revision as of 18:18, 2 April 2009
If you don't want to use an external web host for images that are contained in your website, it's quite easy to do it through your root folders.
1) Copy all images that you want to be stored in your public location to:
/QuickStart/public
2) Don't put them into another folder within the public directory as Zend will look for all the images directly in the "public" folder.
3) Remove any external hyperlinks you have and replace it to the filename of the image to be displayed:
<IMG src="http://i271.photobucket.com/albums/website%20logos/img7.gif">
to
<IMG src="img7.gif"
4) Zend will now look for the image in the public folder allowing you to controll all your own images rather than an external image hosting website.
By Adam Orton 0708875