[Yanel-commits] rev 59436 - public/yanel/trunk/src/contributions/resources/image

michi at wyona.com michi at wyona.com
Sun Jul 17 23:05:04 CEST 2011


Author: michi
Date: 2011-07-17 23:05:03 +0200 (Sun, 17 Jul 2011)
New Revision: 59436

Modified:
   public/yanel/trunk/src/contributions/resources/image/resource.xml
Log:
resource definition notes improved

Modified: public/yanel/trunk/src/contributions/resources/image/resource.xml
===================================================================
--- public/yanel/trunk/src/contributions/resources/image/resource.xml	2011-07-17 21:02:46 UTC (rev 59435)
+++ public/yanel/trunk/src/contributions/resources/image/resource.xml	2011-07-17 21:05:03 UTC (rev 59436)
@@ -6,12 +6,12 @@
   class="org.wyona.yanel.impl.resources.image.ImageResource"
   >
 <description>
-Image resource which allows scaling of images (jpeg at least ...)
+Image resource which allows scaling of jpeg images
 </description>
 
 <rtd>
-  <property name="width"/> <!-- width and height are required! (see TODO within java class ImageResource) -->
+  <property name="width"/> <!-- Either width or height, one of these properties is required in order to determine the scale factor -->
   <property name="height"/>
-  <property name="cache-root-path" default-value="/cached-images"/>
+  <property name="cache-root-path" default-value="/cached-images"/> <!-- optional, whereas if not configured then the default value will be used -->
 </rtd>
 </resource>



More information about the Yanel-commits mailing list