You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2004/12/17 02:55:26 UTC

svn commit: r122606 - /forrest/trunk/plugins/org.apache.forrest.plugin.photoGallery/src/documentation/content/xdocs/index.xml

Author: rgardler
Date: Thu Dec 16 17:55:25 2004
New Revision: 122606

URL: http://svn.apache.org/viewcvs?view=rev&rev=122606
Log:
add linux script for batch conversion of images
Modified:
   forrest/trunk/plugins/org.apache.forrest.plugin.photoGallery/src/documentation/content/xdocs/index.xml

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.photoGallery/src/documentation/content/xdocs/index.xml
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.photoGallery/src/documentation/content/xdocs/index.xml?view=diff&rev=122606&p1=forrest/trunk/plugins/org.apache.forrest.plugin.photoGallery/src/documentation/content/xdocs/index.xml&r1=122605&p2=forrest/trunk/plugins/org.apache.forrest.plugin.photoGallery/src/documentation/content/xdocs/index.xml&r2=122606
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.photoGallery/src/documentation/content/xdocs/index.xml	(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.photoGallery/src/documentation/content/xdocs/index.xml	Thu Dec 16 17:55:25 2004
@@ -55,7 +55,15 @@
       <note>To create the relevant directory stuctures for your gallery simply
       run the following script (unix only). We hope to enhance this plugin
       so that it will automatically create the relevant images for you, but
-      for now you must do it by hand.</note>
+      for now you must do it by hand.
+      <code>
+      for i; do
+        echo -n "Converting:" $i "... ";
+        convert -size 100x100 $i -resize 100x100 preview/$i;
+        convert -size 400x400 $i -resize 100x100 small/$i;
+        convert -size 800x800 $i -resize 100x100 big/$i;
+        echo "done.";</code> 
+</note>
     </section>
   </body>
 </document>