Fórum

IE8 Image preview does not work

tom mahy, modificado 11 Anos atrás.

IE8 Image preview does not work

Junior Member Postagens: 38 Data de Entrada: 02/05/12 Postagens Recentes
Hi,

I have this jpge that i upload into liferay.
Everything seems to works, however with IE8 i get a little red cross indicating that i cant preview the image.
Please note that IE9 in compatibility mode works fine.

I have tried generating the image with Imagemagick. Makes not difference.

There is also an apache in front of liferay so i thought that it might be related to the headers.
But these are disabled with

Header unset Pragma
Header unset Cache-control

We can download the documents just fine with IE8, so i dont think this is the problem.

I have attached the file.
What seems weird is that other jpgs work fine.
Any ideas ?

Edit.

So i opened the file inside Gimp and removed the metadata. Now it works fine inside IE8.
Attached are the screen shots.
Why is this happening only in IE8 ?
thumbnail
Juan Gonzalez P, modificado 11 Anos atrás.

RE: IE8 Image preview does not work

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Seems an issue with IE and some kind of jpeg/png....
tom mahy, modificado 11 Anos atrás.

RE: IE8 Image preview does not work

Junior Member Postagens: 38 Data de Entrada: 02/05/12 Postagens Recentes
Ok , so apparently the original image has EXIF metadata that IE8 has problems with.
In older versions of liferay (6.0.6) this data was removed from the image in question.
In Liferay 6.1 this metadata is kept which causes the problems.

Is there a way to configure liferay so that it removes this EXIF metadata ?