Liferay Symposium 2016 | Reserve your seat today.
8. Third Party Application Integration
(Opens New Window)
Mark as an Answer
Liferay + Icefaces Image Upload preview problem
March 9, 2010 1:07 PM
Rank: New Member
Join Date: May 20, 2009
We are building an application using Liferay(5.2.2) and icedaces(1.8).
We used fileupload component from Icefaces to upload images. We have a reuirement to show preview of images which are uploaded.
We have done followig things.
Take the image to be uploaded.
Compress it to give size ( say not more than 50X50, ~250 kb)
Set the preview in Managed bean with compressed image
Save compressed image in DB.
When i run the codein local environment it works, but when deployed on server(remote) it does not work.
I belive, by the time response come from server, browser would have closed the response thread.
Any suggestions please?
Sign in to vote.
Please sign in to flag this as inappropriate.