掲示板

retrieving images from postgres

thumbnail
11年前 に dave ch によって更新されました。

retrieving images from postgres

Regular Member 投稿: 161 参加年月日: 12/02/07 最新の投稿
Hi all,

I am using LR 6.1. I want to display images in my custom portlet which I am going to insert through Document and media portlet, that will save my image to my database.
Can any body please tell me the code which I cud implement. As per my knowledge I can retrieve my images by using my imageID from my database.

Any help will be highly appreciated.

Thanks in advance
Dave
thumbnail
11年前 に dave ch によって更新されました。

RE: retrieving images from postgres

Regular Member 投稿: 161 参加年月日: 12/02/07 最新の投稿
dave ch:
. As per my knowledge I can retrieve my images by using my imageID from my database.

Dave


Here is the code which helped me to solve this issue:

DLFileEntryLocalServiceUtil.getFileEntry(themeDisplay.getScopeGroupId(), 0, title);
imgSrc = "/documents/"+themeDisplay.getScopeGroupId()+"/0/"+title+"?version=1.0&imageThumbnail=1";