Foros de discusión

How add image in Document And Media programetically

Zaheer Shaikh, modificado hace 11 años.

How add image in Document And Media programetically

New Member Mensajes: 7 Fecha de incorporación: 6/12/12 Mensajes recientes
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.
thumbnail
David H Nebinger, modificado hace 11 años.

RE: How add image in Document And Media programetically

Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
You need to leverage the image gallery services, IGImageLocalServiceUtil I think it is.