掲示板
Upload image on server in Liferay
11年前 に Samita Bhujbal によって更新されました。
Upload image on server in Liferay
Regular Member 投稿: 117 参加年月日: 11/07/05 最新の投稿
I am using liferay 6.0.6. I am developing one custom portlet for Offline payment process. In that I need to upload scanned copy of cheque or DD. I want to uplaod image on server.How to do it??
Please reply.It's Urgent.
Please reply.It's Urgent.
11年前 に Sagar A Vyas によって更新されました。
RE: Upload image on server in Liferay
Liferay Master 投稿: 679 参加年月日: 09/04/17 最新の投稿Samita Bhujbal:
I am using liferay 6.0.6. I am developing one custom portlet for Offline payment process. In that I need to upload scanned copy of cheque or DD. I want to uplaod image on server.How to do it??
Please reply.It's Urgent.
You can use image gallery API to upload image.
IGImage addImage = IGImageLocalServiceUtil.addImage(userId, folderId, imageName, description, file, contentType, new ServiceContext());
http://content.liferay.com/4.2/api/portal-service/com/liferay/portlet/imagegallery/service/IGImageLocalServiceUtil.html
Thanks,
Sagar Vyas