Printing an image - insights needed!
| From: | Andre Dubuc | Date: | Tue, 11 Feb 2003 03:16:17 +0000 |
| Subject: | Printing an image - insights needed! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-135151@lists.php.net to get a copy of this message | ||
Hi,
I have a very annoying little problem that someone might have an insight as
to its cause. The opening page on my site has two small jpeg pixs (3.9KB)
that display properly for any user. I have another page, with exactly the
same code, and same jpeg pixs that displays properly as well.
<?php
. . . .
/* Opening page graphic */
print "<a><img src='does_not_print_but_displays.jpeg' width='100'
height='120' alt='What Gives?'></a>";
?>
******************************
<?php
. . . .
/* Second page graphic - not linked to Opening page */
print "<a><img src='prints_and_displays_nicely.jpeg' width='100'
height='120'
alt='Prints nicely'></a>";
?>
However, when I want to print a copy of these pages, while on the web, the
first one (the opening page) does not print the jpeg pixs, whereas the
second page does.
The only difference I can see between the two is that the second page has img
src and alt in caps (but that shouldn't make any difference). I've tried
Opera, Konqueror, Galeon, and Mozilla with the same effect. Even tried
changing to .jpg but no difference. Any ideas what might be messing up the
print function? Btw, in Konqueror it displays an empty white box, while in
Opera no box at all. Any ideas, suggestions, or where to look would be
greatly appreciated. I'm stumped.
Tia,
Andre