Message Boards

*.jpeg is displayed but *.jpg not

thumbnail
Abdollah Esmaeilpour, modified 3 Years ago.

*.jpeg is displayed but *.jpg not

Junior Member Posts: 60 Join Date: 8/22/09 Recent Posts
After not being answered for a week, I repeated this question on Stackoverflow.
I have a file with *.jpg extension in a Liferay 6.2 bundled with Tomcat on a RedH  at Enterprise machine. The image is located in [tomcat]/ROOT/. It isn't displayed in my portlet but when I change its extension to *.jpeg, it is displayed well. Why does it happen and how can I handle it?
thumbnail
Olaf Kock, modified 3 Years ago.

RE: *.jpeg is displayed but *.jpg not

Liferay Legend Posts: 6400 Join Date: 9/23/08 Recent Posts
Abdollah Esmaeilpour:

After not being answered for a week, I repeated this question on Stackoverflow.
I have a file with *.jpg extension in a Liferay 6.2 bundled with Tomcat on a RedH  at Enterprise machine. The image is located in [tomcat]/ROOT/. It isn't displayed in my portlet but when I change its extension to *.jpeg, it is displayed well. Why does it happen and how can I handle it?
This question off topic for stackoverflow (no custom code involved). If you don't get an answer, it often because more information is needed.
"not displayed" could be anything: Wrong mimetype, file not found, etc.
Please give exact steps to reproduce (and consider updating, your version is quite old. I hope you're at least patched)