Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
*.jpeg is displayed but *.jpg not
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?
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?
Abdollah Esmaeilpour:
This question off topic for stackoverflow (no custom code involved). If you don't get an answer, it often because more information is needed.
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?
"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)