[Yanel-commits] rev 41352 - public/yanel/trunk/src/contributions/resources/image/yanel-htdocs/doc

michi at wyona.com michi at wyona.com
Wed Feb 4 16:52:03 CET 2009


Author: michi
Date: 2009-02-04 16:52:02 +0100 (Wed, 04 Feb 2009)
New Revision: 41352

Modified:
   public/yanel/trunk/src/contributions/resources/image/yanel-htdocs/doc/index.html
Log:
an example .yanel-rc added

Modified: public/yanel/trunk/src/contributions/resources/image/yanel-htdocs/doc/index.html
===================================================================
--- public/yanel/trunk/src/contributions/resources/image/yanel-htdocs/doc/index.html	2009-02-04 15:38:58 UTC (rev 41351)
+++ public/yanel/trunk/src/contributions/resources/image/yanel-htdocs/doc/index.html	2009-02-04 15:52:02 UTC (rev 41352)
@@ -53,6 +53,16 @@
     <p>TODO</p>
 
     <h2>Examples</h2>
-    <p>TODO</p>
+    <p>Scale an image and cache the scaled image within a particular repository folder</p>
+
+<pre>
+    &lt;yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0"&gt;
+      &lt;yanel:rti name="image" namespace="http://www.wyona.org/yanel/resource/1.0"/&gt;
+
+      &lt;yanel:property name="width" value="160"/&gt;
+      &lt;yanel:property name="height" value="90"/&gt;
+      &lt;yanel:property name="cache-root-path" value="/my-cached-scaled-images"/&gt;
+    &lt;/yanel:resource-config&gt;
+</pre>
   </body>
 </html>



More information about the Yanel-commits mailing list