carteran
07-16-2006, 09:32 PM
Greetings,
I'm new to PERl in a CGI/web type context. I'm able to generate some images (graphs using rrdtools) using PERL but can't see how to deliver these images to a web page using a CGI script. I have formated the image placement using tables but the images refuse to display - only the placeholder. The only hint I could find was to use the content type as image/jpg but there was no example of how to use it.
Whats the best way to imbed images in web pages using PERL/CGI
Many thanks in advance.
I'm new to PERl in a CGI/web type context. I'm able to generate some images (graphs using rrdtools) using PERL but can't see how to deliver these images to a web page using a CGI script. I have formated the image placement using tables but the images refuse to display - only the placeholder. The only hint I could find was to use the content type as image/jpg but there was no example of how to use it.
Whats the best way to imbed images in web pages using PERL/CGI
Many thanks in advance.