mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-16 17:55:15 +00:00
- use thumbnail service for user avatars
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10002 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
parent
fea8ec6ae8
commit
18164f15cc
@ -98,6 +98,24 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- User avatar image thumbnail options -->
|
||||
<bean class="org.alfresco.repo.thumbnail.ThumbnailDetails">
|
||||
<property name="name" value="avatar" />
|
||||
<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="64"/>
|
||||
<property name="height" value="64"/>
|
||||
<property name="maintainAspectRatio" value="true"/>
|
||||
<property name="resizeToThumbnail" value="true" />
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
</property>
|
||||
<property name="placeHolderResourcePath" value="alfresco/thumbnail/thumbnail_placeholder_avatar.png" />
|
||||
</bean>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
BIN
config/alfresco/thumbnail/thumbnail_placeholder_avatar.png
Normal file
BIN
config/alfresco/thumbnail/thumbnail_placeholder_avatar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
Loading…
x
Reference in New Issue
Block a user