mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
- New thumbnail transformation "imgpreview" that creates 400x400 previews.
- Document details preview works for webpreview and imgpreview - Helper method in alfresco.js for checking of an array contatins a value. - Helper method in alfresco.js for checking if sufficient flash player is installed. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10476 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -99,6 +99,25 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- Image preview thumbnail options -->
|
||||
<bean class="org.alfresco.repo.thumbnail.ThumbnailDefinition">
|
||||
<property name="name" value="imgpreview" />
|
||||
<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="400"/>
|
||||
<property name="height" value="400"/>
|
||||
<property name="maintainAspectRatio" value="true"/>
|
||||
<property name="resizeToThumbnail" value="true" />
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
</property>
|
||||
<property name="placeHolderResourcePath" value="alfresco/thumbnail/thumbnail_placeholder_imgpreview.png" />
|
||||
</bean>
|
||||
|
||||
<!-- User avatar image thumbnail options -->
|
||||
<bean class="org.alfresco.repo.thumbnail.ThumbnailDefinition">
|
||||
<property name="name" value="avatar" />
|
||||
|
BIN
config/alfresco/thumbnail/thumbnail_placeholder_imgpreview.png
Normal file
BIN
config/alfresco/thumbnail/thumbnail_placeholder_imgpreview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
Reference in New Issue
Block a user