04-04-2016 07:12 AM
<!– Thumbnail definition "galpThumb120" for thumbnails with a height of 120 pixels –>
<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetObject" ref="thumbnailRegistry" />
<property name="targetMethod" value="addThumbnailDefinition" />
<property name="arguments">
<list>
<bean class="org.alfresco.repo.thumbnail.ThumbnailDefinition">
<property name="name" value="galpThumb120" />
<property name="mimetype" value="image/jpeg" />
<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="height" value="120" />
<property name="width" value="4000" />
<property name="maintainAspectRatio" value="true" />
<property name="resizeToThumbnail" value="true" />
</bean>
</property>
</bean>
</property>
<property name="placeHolderResourcePath"
value="alfresco/extension/thumbnail/thumbnail_placeholder_galpThumb120.jpg" />
</bean>
</list>
</property>
</bean>
04-07-2016 11:59 AM
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.