Posted by mbstevens on 11/01/05 03:34
Ed Jay wrote:
> I'm using a Perl script to generate html pages. I want to use images in
> the html page. The fundamental code I use to display an image is:
>
> print "<p><img src=\"http://www.my-site.com/image.gif\" border=1
> width=\"53\" height=\"32\" alt=\"logo\">\n";
>
> The image doesn't display.
>
> I have the same problem importing linked external style sheets and
> external javascripts.
>
http://www.mbstevens.com/howtothumb/
....toward the bottom of the article is a Perl script to display an
image, with a lot of explanation. I suggest you read the whole article
to understand why some of the things were done.
You should be able to use external stylesheets and javascripts. You're
addressing them wrong, most probably. Remember that the address is
relative to the place the script executes, not the base address of your
website.
[Back to original message]
|