![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I've discovered that there is a big discrepancy between how the images appear in IE7 and FF2, e.g. for <IMG SRC="image.php?param=foo">. |
|
Namely, they appear just fine in Firefox but in IE nothing appears at all. |
|
Can anyone tell me know how to make this work and whether this is a browser issue, a PHP issue, or what? |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
I have an image being generated by a PHP script-- I've discovered that there is a big discrepancy between how the images appear in IE7 and FF2, e.g. for <IMG SRC="image.php?param=foo">. |
#5
| |||
| |||
|
|
I have an image being generated by a PHP script-- I didn't write the code-- and the image itself is in a database. I've discovered that there is a big discrepancy between how the images appear in IE7 and FF2, e.g. for <IMG SRC="image.php?param=foo">. Namely, they appear just fine in Firefox but in IE nothing appears at all. Can anyone tell me know how to make this work and whether this is a browser issue, a PHP issue, or what? |
#6
| |||
| |||
|
|
On 21 Mar 2008, ur.solame (AT) yahoo (DOT) com wrote: I have an image being generated by a PHP script-- I didn't write the code-- and the image itself is in a database. I've discovered that there is a big discrepancy between how the images appear in IE7 and FF2, e.g. for <IMG SRC="image.php?param=foo">. Namely, they appear just fine in Firefox but in IE nothing appears at all. Can anyone tell me know how to make this work and whether this is a browser issue, a PHP issue, or what? In certain php image manipulations, different code is required for ie than is for other browsers. |
#7
| |||
| |||
|
|
In certain php image manipulations, different code is required for ie than is for other browsers. |
#8
| |||
| |||
|
|
Anyway, _I_ don't know where in that labyrinth of a php manual you'll find this (-if anywhere), but I'm tired of wasting my own time. This line from the code of one of my old pages: if (!($_FILES['filup']['type'] == "image/jpeg" || $_FILES['filup']['type'] == "image/pjpeg")) { ...rather explains it. |
|
An image of an unknown type is uploaded. Determining the type produces different matches on different platforms; "image/pjpeg" on Windows and "image/jpeg" on non-Windows. |
#9
| |||
| |||
|
|
On 21 Mar 2008, Jerry Stuckle <jstucklex (AT) attglobal (DOT) net> wrote: I've discovered that there is a big discrepancy between how the images appear in IE7 and FF2, e.g. for <IMG SRC="image.php?param=foo">. Namely, they appear just fine in Firefox but in IE nothing appears at all. Can anyone tell me know how to make this work and whether this is a browser issue, a PHP issue, or what? In certain php image manipulations, different code is required for ie than is for other browsers. I've never seen that. How so? Har har, you know not what you ask... |
|
Anyway, _I_ don't know where in that labyrinth of a php manual you'll find this (-if anywhere), but I'm tired of wasting my own time. This line from the code of one of my old pages: if (!($_FILES['filup']['type'] == "image/jpeg" || $_FILES['filup']['type'] == "image/pjpeg")) { ...rather explains it. An image of an unknown type is uploaded. Determining the type produces different matches on different platforms; "image/pjpeg" on Windows and "image/jpeg" on non-Windows. This particular code-bit came from a page receiving images posted by form. Whether it matters elsewhere and otherwise, who knows. Have a nice day. |
#10
| |||
| |||
|
|
On 21 Mar 2008, Michael Fesser <netizen (AT) gmx (DOT) de> wrote: .oO(Neredbojias) In certain php image manipulations, different code is required for ie than is for other browsers. Huh? An image is an image. It doesn't matter where it comes from. Please see my erudite reply to J. Stuckle for additional convolutions... g |
![]() |
| Thread Tools | |
| Display Modes | |
| |