Odd Error in HTML (Opening Images)

Hey guys,
I have an odd issue. When I upload an image to the server and it opens in a new page on FF or Chrome its fine but in IE its either upside down or sideways. Same photos on all computers, I cant see it being the code ???

What format are the pictures in? .jpg , .gif , etc…
Never heard of an issue that show an image on one browser and not another!

I am wondering how your code locates and displays the picture…

Show some of the code and we can help!

Code helps, but welcome to the world of IE! It has always been an issue.

Well itskater91, I did some research and found that quite often this is a problem due the photos begin from
a camera that does not embed the “EXIF” info into the image. You can fix that by loading the image into a
paint program such as Photoshop or Photopaint and then resaving the image. Or, exporting it as a .jpg file.
The embedded “EXIF” info tells the picture how to orientate itself and some browsers use it, some do not.
Once I found this info, I searched further and found this link that helps explain it…
http://www.mandolincafe.com/forum/entry.php?713-Why-is-my-picture-turned-sideways

Hope that makes sense to you…

I’m going to give that a try because the other photos I photoshoped so that sound like a good fix! If it doesnt work Ill upload some code so you can see the it. Also all the photos are .jpg all lowercase.

Well, itskater91, I did read on that link and look at other pages and it seems that the “EXIF” info is not a
problem on new camera’s or scanners. But, it is a problem on old ones. Also, it is a problem if the photo was
converted from the old GIF98 format or other older formats. ( GIF98 does not mean a GIF file, its a formatting
that is inside GIF’s and JPG’s depending on how they were created. )

So, now it appears that even Window’s photo viewer might fix it for you. Just open the picture in preview
in a folder and turn it sideways and back and save it. It should rewrite the “EXIF” info inside the image and
might solve it for you. Easier than loading up Photoshop and exporting a JPG file…

Let us know if it is solved…

You were correct ErnieAlex. They are user submitted photos so I don’t have control over what they submit but opening it in Photoshop and re saving it fixed the problem! You the man!

No problem! I just really love the warm fuzzy feeling of solving a programming problem! Good for you!

CYA in the “Bitstream”…

Sponsor our Newsletter | Privacy Policy | Terms of Service