Author: andre Date: 2009-08-10 13:15:51 +0200 (Mon, 10 Aug 2009) New Revision: 37640
Modified: openimages/trunk/src/main/webapp/WEB-INF/tags/oip/thumb.tagx Log: do image thumbs more or less like the thumbs uploaded for audio and video, except crop elsewhere to make them like preview. Modified: openimages/trunk/src/main/webapp/WEB-INF/tags/oip/thumb.tagx =================================================================== --- openimages/trunk/src/main/webapp/WEB-INF/tags/oip/thumb.tagx 2009-08-10 10:12:33 UTC (rev 37639) +++ openimages/trunk/src/main/webapp/WEB-INF/tags/oip/thumb.tagx 2009-08-10 11:15:51 UTC (rev 37640) @@ -40,10 +40,10 @@ </c:when> <c:when test="${nodetype eq 'imagefragments'}"> <mm:relatednodes type="imagesources" max="1"> - <mm:import id="found" /> - <mm:image template="s(81x60>)+modulate(150,150)+colorspace(Gray)" mode="img" /> + <mm:image mode="url" width="81" height="60" crop="end" id="img" write="false" /> + <img src="${img}" alt="${alt}" width="81" height="60" /> </mm:relatednodes> - <mm:notpresent referid="found"> + <mm:notpresent referid="img"> <img src="${mm:link('/style/images/thumb_image.png')}" alt="${empty alt ? 'image' : alt}" width="81" height="60" /> </mm:notpresent> </c:when> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs