Files
alfresco-community-repo/config/alfresco/templates/image_thumbnails.ftl
Kevin Roast 608f6d0e44 . My Checked Out Documents - freemarker based dashlet (replaces the existing mockup dashlet)
- list of the documents checked out to the current user
. My Images - freemarker based dashlet
 - thumbnail based list of the images in the current user home space
. Improvements to My Documents freemarker based dashlet
 - improved UI look and feel, added more information columns
. Added some more/improved example templates

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3640 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-30 17:48:42 +00:00

13 lines
592 B
Plaintext

<#-- 3 column list of image "thumbnails" in the current space -->
<#assign colcount=0>
<table width=100%>
<#list space.children as child>
<#if child.isDocument && (child.mimetype = "image/png" || child.mimetype = "image/jpeg" || child.mimetype = "image/gif")>
<#if colcount % 3 = 0><tr></#if>
<td align=center><div style='padding:8px'><a href="/alfresco${child.url}" target="new"><img border=0 src="/alfresco${child.url}" width=120></a></div><div>${child.properties.name}</div></td>
<#if colcount % 3 = 2></tr></#if>
<#assign colcount=colcount+1>
</#if>
</#list>
</table>