Fórumok
how to create thumbnail for each file in liferay
venkata ashok kumar ananthapalli, módosítva 9 év-val korábban
how to create thumbnail for each file in liferay
New Member Bejegyzések: 8 Csatlakozás dátuma: 2014.09.16. Legújabb bejegyzések
HI
Can one tell me how to generate thumbnail for every file in liferay for pdf,docx,video,audio
but I can get thumbnails for images file in document and media but other file I unable to get thumbnails
below code for generating thumbnail for images
import com.liferay.portlet.documentlibrary.util.ImageProcessorUtil;
import com.liferay.portlet.documentlibrary.util.DLPreviewableProcessor;
InputStream thumbnail = ImageProcessorUtil.getThumbnailAsStream(fileEntry.getFileVersion(), DLPreviewableProcessor.THUMBNAIL_INDEX_DEFAULT);
Regards,
Ashokkumar.
Can one tell me how to generate thumbnail for every file in liferay for pdf,docx,video,audio
but I can get thumbnails for images file in document and media but other file I unable to get thumbnails
below code for generating thumbnail for images
import com.liferay.portlet.documentlibrary.util.ImageProcessorUtil;
import com.liferay.portlet.documentlibrary.util.DLPreviewableProcessor;
InputStream thumbnail = ImageProcessorUtil.getThumbnailAsStream(fileEntry.getFileVersion(), DLPreviewableProcessor.THUMBNAIL_INDEX_DEFAULT);
Regards,
Ashokkumar.
Malhar Shah, módosítva 9 év-val korábban
RE: how to create thumbnail for each file in liferay
Junior Member Bejegyzések: 41 Csatlakozás dátuma: 2014.08.17. Legújabb bejegyzések
Are you talking about customizing documents and media portlet?
If not than are you getting any exception in console?
If not than are you getting any exception in console?
venkata ashok kumar ananthapalli, módosítva 9 év-val korábban
RE: how to create thumbnail for each file in liferay
New Member Bejegyzések: 8 Csatlakozás dátuma: 2014.09.16. Legújabb bejegyzések
its not an customizing portlet, I want to download thumbnails and represent in IPAD, Using webservices I am able to get thumbnails for images only, but I want thumbnails for all fles doc,docx,pdf,ppt, and video
Vilmos Papp, módosítva 9 év-val korábban
RE: how to create thumbnail for each file in liferay
Liferay Master Bejegyzések: 529 Csatlakozás dátuma: 2010.10.21. Legújabb bejegyzések
David H Nebinger, módosítva 9 év-val korábban
RE: how to create thumbnail for each file in liferay
Liferay Legend Bejegyzések: 14916 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
If you install the additional tools (image magick, ghostscript, openoffice/libreoffice, xuggler and the like), you will get thumbnails/previews for all of these additional formats.