Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: <img> tag does not work in my perl/cgi code

by proceng (Scribe)
on Feb 24, 2008 at 00:40 UTC ( [id://669799]=note: print w/replies, xml ) Need Help??


in reply to <img> tag does not work in my perl/cgi code

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.
  • Comment on Re: <img> tag does not work in my perl/cgi code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://669799]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-24 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found