mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Thumbnail Service: can now get a list of thumbnail definitions that can be applied to a given content property
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10437 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -46,11 +46,12 @@
|
||||
|
||||
<!-- Thumbnail Register -->
|
||||
<bean id="thumbnailRegistry" class="org.alfresco.repo.thumbnail.ThumbnailRegistry">
|
||||
<property name="thumbnailDetails">
|
||||
<property name="contentService" ref="ContentService"/>
|
||||
<property name="thumbnailDefinitions">
|
||||
<list>
|
||||
|
||||
<!-- Small image thumbnail options -->
|
||||
<bean class="org.alfresco.repo.thumbnail.ThumbnailDetails">
|
||||
<bean class="org.alfresco.repo.thumbnail.ThumbnailDefinition">
|
||||
<property name="name" value="medium" />
|
||||
<property name="mimetype" value="image/jpeg"/>
|
||||
<property name="transformationOptions">
|
||||
@@ -69,7 +70,7 @@
|
||||
</bean>
|
||||
|
||||
<!-- Slingshot Document Library image thumbnail options -->
|
||||
<bean class="org.alfresco.repo.thumbnail.ThumbnailDetails">
|
||||
<bean class="org.alfresco.repo.thumbnail.ThumbnailDefinition">
|
||||
<property name="name" value="doclib" />
|
||||
<property name="mimetype" value="image/png"/>
|
||||
<property name="transformationOptions">
|
||||
@@ -88,7 +89,7 @@
|
||||
</bean>
|
||||
|
||||
<!-- Web Preview thumbnail options -->
|
||||
<bean class="org.alfresco.repo.thumbnail.ThumbnailDetails">
|
||||
<bean class="org.alfresco.repo.thumbnail.ThumbnailDefinition">
|
||||
<property name="name" value="webpreview" />
|
||||
<property name="mimetype" value="application/x-shockwave-flash"/>
|
||||
<property name="transformationOptions">
|
||||
@@ -99,7 +100,7 @@
|
||||
</bean>
|
||||
|
||||
<!-- User avatar image thumbnail options -->
|
||||
<bean class="org.alfresco.repo.thumbnail.ThumbnailDetails">
|
||||
<bean class="org.alfresco.repo.thumbnail.ThumbnailDefinition">
|
||||
<property name="name" value="avatar" />
|
||||
<property name="mimetype" value="image/png"/>
|
||||
<property name="transformationOptions">
|
||||
|
Reference in New Issue
Block a user