No such thing as a small change | |
PerlMonks |
Re: <img> tag does not work in my perl/cgi codeby proceng (Scribe) |
on Feb 24, 2008 at 00:40 UTC ( [id://669799]=note: print w/replies, xml ) | Need Help?? |
if you change:
<img src="images/image.jpg" alt="site_image" width="800" height="200">to: <img src="/images/image.jpg" alt="site_image" width="800" height="200">(note the / before images) and store image.jpg in a images directory under your configured web root drive (on my lighttpd configuration it is: server.document-root = "/usr/local/var/www/"so image.jpg would have a real location of /usr/local/var/www/images/image.jpg) you should find that it works.
In Section
Seekers of Perl Wisdom
|
|