lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject svn commit: r535257 - in /lenya/docu/src/documentation/content/xdocs: docs/modules/svg/resizeimages.xml site.xml
Date Fri, 04 May 2007 14:31:47 GMT
Author: andreas
Date: Fri May  4 07:31:46 2007
New Revision: 535257

URL: http://svn.apache.org/viewvc?view=rev&rev=535257
Log:
Added docs about resizing images with svg module

Added:
    lenya/docu/src/documentation/content/xdocs/docs/modules/svg/resizeimages.xml
Modified:
    lenya/docu/src/documentation/content/xdocs/site.xml

Added: lenya/docu/src/documentation/content/xdocs/docs/modules/svg/resizeimages.xml
URL: http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/docs/modules/svg/resizeimages.xml?view=auto&rev=535257
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/docs/modules/svg/resizeimages.xml (added)
+++ lenya/docu/src/documentation/content/xdocs/docs/modules/svg/resizeimages.xml Fri May 
4 07:31:46 2007
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2006 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: index.xml 55543 2004-10-26 00:14:59Z thorsten $ -->
+
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+  <header>
+    <title>SVG Module: Resizing Images</title>
+  </header>
+  <body>
+
+    <section>
+      <title>Resizing Images</title>
+      <p>
+        To resize an image, append the following request parameters to the image URL:
+      </p>
+      <ul>
+        <li>lenya.module=svg</li>
+        <li>width=...</li>
+        <li>height=...</li>
+      </ul>
+      <p>
+        For example:
+      </p>
+      <source xml:space="preserve"><![CDATA[<img src="image.jpg?lenya.module=svg&width=100&height=150"/>]]></source>
+    </section>
+
+  </body>
+</document>

Modified: lenya/docu/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/site.xml?view=diff&rev=535257&r1=535256&r2=535257
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/site.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/site.xml Fri May  4 07:31:46 2007
@@ -343,6 +343,7 @@
       </sourcerepository_module_section>
       <svg_module_section label="svg" href="svg/">
         <svg_module_overview label="Rounded Corners" href="roundedcorners.html"/>
+        <svg_module_resizeimages label="Resizing Images" href="resizeimages.html"/>
         <svg_module_api label="API" href="../../../../apidocs/1.4/modules/svg/index.html"/>
       </svg_module_section>
       <tinymce_module_section label="tinymce" href="tinymce/">



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org


Mime
View raw message