Link to home
Start Free TrialLog in
Avatar of CompuTurk
CompuTurk

asked on

Browser Image Size limitations

Please visit this link in IE and Firefox. http://www.norfolkcvb.com/press-room/photo-gallery/gallery_images/bfbae80ce5c248e87acf2f92b8a41271_NauticusCampusresize.jpg

IE 7 displays broken image icon and Firefox is telling me The image http://www.norfolkcvb.com/press-room/photo-gallery/gallery_images/bfbae80ce5c248e87acf2f92b8a41271_NauticusCampusresize.jpg cannot be displayed, because it contains errors.

When I try to view this in Firefox on Mac, I get the above error message, but when I display it on Safari Mac, it actually shows the image.  I cannot figure out what the problem is and it is boggling my mind.  On thing I can think of is a limitation with the browsers, but that does not seem to make a whole a lot of sense.

Thank you in advance for all your help.
Avatar of war1
war1
Flag of United States of America image

Hello CompuTurk,

I tried to open the JPG file in Firefox and IE and cannot do so.  

Can you open other JPG files? If so, KB945432 causes problems with opening JPG file. Go to Add/Remove programs > Windows Update components, and disable or uninstall KB945432.

If only your file, it is corrupt.  Try to repair the file by opening it in Irfanview
http://www.irfanview.com

If you can open it, then save it as a JPG. Then you will be able to open it in Firefox and IE.


Hope this helps!
war1
Avatar of CompuTurk
CompuTurk

ASKER

What is happening is that the client is uploading these images using a web form. The image then gets resized automatically by PHP GD image lib to create thumbnails...but the original image is not simply rename and save to the server.  I think the best way is going to zipping it up or changing the octet stream to treat the image as a downloadable file.

I will update you guys soon.
CompuTurk--The URL is scrambled. The original image is http://www.norfolkcvb.com/press-room/photo-gallery/gallery_images/1207767151.jpg  (Nauticus Campus is a waterfront attraction in Norfolk, VA.)
Maybe the client tried a resize and did the scrambling in the process of putting the resize image on a website.
That's the thumbnail image.  That is fine.  The real image is the one with the scrambled URL.  That is done on purpose.  I am having the client resize the image with Photoshop and simply save it as JPG.  I am still going to play around see if I can solve this problem.
CompuTurk--Looking forward to hearing more from you.  
I should have mentioned in my first post that I, just as war1, cannot see anything but the red X when I try, using IE7,  to access http://www.norfolkcvb.com/press-room/photo-gallery/gallery_images/bfbae80ce5c248e87acf2f92b8a41271_NauticusCampusresize.jpg
If I right click the RedX|Properties, I see the URL you posted.
I had my client save the pictures as jpg and then open it up, resize and save it as jpg again and that seems to solve the problem.  Other than that I could not find a valid solution.

Thank you all for your help.
CompuTurk,

I had said the file may be corrupt and asked you to open it in Irfanview to save 04.09.2008 at 01:32PM PDT. This is similar to way you did.
In my first comment, I said the file is corrupt and asked the Asker to open in Irfanview.  This is the similar to the solution that Asker found, open the file in another program.
In my first comment, I said the file is corrupt and asked the Asker to open in Irfanview.  This is the similar to the solution that Asker found, open the file in another program.
The images always opened properly in image viewer applications. I was just wondering what may have caused them to not display in the browsers.  Problem still exists that certain images when uploaded using PHP the corruption happens somewhere in there.  Looked in to the extend to see if the files were being transferred in Binary or ASCII made any difference.

There is no solution to this problem as of today.  I will keep EE updated as soon as there is an accurate solution.  Thank you for your time regardless war1.
ASKER CERTIFIED SOLUTION
Avatar of war1
war1
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial