掲示板

RE Liferay image Object

thumbnail
10年前 に Manikantha Rajamani によって更新されました。

RE Liferay image Object

Expert 投稿: 258 参加年月日: 14/03/25 最新の投稿
how to define the image object in service.xml to define the image object in portlet...
explain step by step......
thumbnail
10年前 に meera prince によって更新されました。

RE: RE Liferay image Object

Liferay Legend 投稿: 1111 参加年月日: 11/02/08 最新の投稿
Hi
Have a look into following links

http://www.liferaysavvy.com/2013/12/using-blob-data-type-in-liferay-service.html

http://www.liferaysavvy.com/2014/01/store-and-retrieve-images-using-blob.html

I suggest you please use Liferay Document Library to manage your images and files

User DLAppLocalServiceUtil there are many methods to store the images and files and each file entry have URL to display Images or download files..
Look into DLUtil class for more methods to get URL of file.


example:

DLUtil.getPreviewURL(-----)



Regards,
Meera Prince



Regards,
Meera Prince