Foren
How add image in Document And Media programetically
Zaheer Shaikh, geändert vor 11 Jahren.
How add image in Document And Media programetically
New Member Beiträge: 7 Beitrittsdatum: 06.12.12 Neueste Beiträge
Hi,
I Created one jsp page with file Input Tag. I am uploading one image. Now I want to save this image using liferay API(programmeticaly) in Document and Media.
Which is the liferay API i use for storing image and retrieving image.
If possible please provide useful link or sample code.
Thanks and Regards,
Zaheer Shaikh.
I Created one jsp page with file Input Tag. I am uploading one image. Now I want to save this image using liferay API(programmeticaly) in Document and Media.
Which is the liferay API i use for storing image and retrieving image.
If possible please provide useful link or sample code.
Thanks and Regards,
Zaheer Shaikh.
David H Nebinger, geändert vor 11 Jahren.
RE: How add image in Document And Media programetically
Liferay Legend Beiträge: 14916 Beitrittsdatum: 02.09.06 Neueste Beiträge
You need to leverage the image gallery services, IGImageLocalServiceUtil I think it is.