Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Tom Mahy
IE8 Image preview does not work
12 de Dezembro de 2012 00:38
Resposta

Tom Mahy

Ranking: Junior Member

Mensagens: 38

Data de entrada: 2 de Maio de 2012

Mensagens 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 ?
Anexo

Anexo

Anexo

Anexo

Anexo

Anexos: CARTE PROF 2013-recto (2).jpg (830,2k), IE8Screen.png (66,8k), IE8Screen2.png (216,0k), menu gimp.png (63,4k), screenshot working.png (233,3k)
Juan Gonzalez
RE: IE8 Image preview does not work
12 de Dezembro de 2012 01:44
Resposta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1984

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

Seems an issue with IE and some kind of jpeg/png....
Tom Mahy
RE: IE8 Image preview does not work
15 de Janeiro de 2013 06:23
Resposta

Tom Mahy

Ranking: Junior Member

Mensagens: 38

Data de entrada: 2 de Maio de 2012

Mensagens 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 ?