01-28-2014 11:36 AM
newFile.createThumbnail(thumbnailName, true);
in fase di upload ma poi lato share, la navigazione della Libreria Digitale mostra i documenti con la thumbnail di fallback (le rotelline).01-29-2014 09:16 AM
15:07:57,041 User:alfresco.gsd DEBUG [repo.jscript.ScriptLogger]
creating thumbnail doclib
15:07:57,079 User:alfresco.gsd DEBUG [repo.jscript.ScriptLogger]
error is JavaException: org.alfresco.service.cmr.repository.ContentIOException: 00292957 Content conversion failed:
reader: ContentAccessor[ contentUrl=store://2014/1/29/15/7/5f6af871-f5a4-44aa-b730-8063694dddf4.bin,
mimetype=application/pdf, size=93245, encoding=UTF-8, locale=it]
writer: ContentAccessor[ contentUrl=store://2014/1/29/15/7/be5d14a5-c0a8-4f65-85c9-d6b271110f4e.bin,
mimetype=image/png, size=0, encoding=UTF-8, locale=it]
options: ImageTransformationOptions[ commandOptions=, resizeOptions=org.alfresco.repo.content.transform.magick.ImageResizeOptions@28ffe174]
01-29-2014 09:34 AM
01-29-2014 10:05 AM
convert
funziona correttamente.01-29-2014 10:44 AM
<bean class="org.alfresco.repo.thumbnail.ThumbnailDefinition">
<property name="name" value="doclib" />
<property name="mimetype" value="image/png"/>
<property name="transformationOptions">
<bean class="org.alfresco.repo.content.transform.magick.ImageTransformationOptions">
<property name="resizeOptions">
<bean class="org.alfresco.repo.content.transform.magick.ImageResizeOptions">
<property name="width" value="100"/>
<property name="height" value="100"/>
<property name="maintainAspectRatio" value="true"/>
<property name="resizeToThumbnail" value="true" />
</bean>
</property>
</bean>
</property>
<property name="placeHolderResourcePath" value="alfresco/thumbnail/thumbnail_placeholder_doclib.png" />
<property name="runAs" value="System"/>
</bean>
01-29-2014 11:21 AM
log4j.logger.org.alfresco.repo.content.transform=DEBUG
log4j.logger.org.alfresco.util.exec.RuntimeExec=DEBUG
log4j.logger.org.alfresco.repo.content.transform.ContentTransformerRegistry=DEBUG
01-29-2014 12:40 PM
Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=false"
export DISPLAY=localhost:10.0
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.