in reply to photo does not display on HTML page in Linux
You can help us help you better by answering some of these quetions:
Have you investigated if the image is displayed properly without Perl?
Where exactly is the problem? Is the problem in creating the proper HTML from Perl or from serving the JPEG image from Perl? Is there a web server involved? What does its error log say?
What is the address of the HTML page? What is the address of the JPEG image?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: photo does not display on HTML page in Linux
by Anonymous Monk on Jun 01, 2017 at 16:28 UTC | |
The HTML is OK on windows and is identical on Linux except the address is different (of course). No web server | [reply] [d/l] |
by Corion (Patriarch) on Jun 01, 2017 at 16:32 UTC | |
This has very little to do with Perl and is all about HTML and how your browser displays local resources. Are you sure that your browser will interpret this address as an address that is supposed to be loaded from a file? Personally, I would either add an address relative to the HTML file, like (assuming that the HTML file lives in /net/home2/ceb/bmcclint):
Alternatively, find out how your browser interprets file:// URIs, and give it the appropriate file:// URI. Maybe it is
But again, none of this has anything to do with Perl, so most likely you will find better help in the documentation (or internet searches) for your browser. | [reply] [d/l] [select] |
by Anonymous Monk on Jun 01, 2017 at 16:38 UTC | |
| [reply] [d/l] |
by karlgoethebier (Abbot) on Jun 01, 2017 at 16:52 UTC | |