svn commit: r1076507 [1/2] - in /ofbiz/trunk: applications/product/config/ applications/product/src/org/ofbiz/product/image/ applications/product/webapp/catalog/WEB-INF/actions/product/ framework/images/webapp/images/products/ENCHILADAS/ framework/imag...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1076507 [1/2] - in /ofbiz/trunk: applications/product/config/ applications/product/src/org/ofbiz/product/image/ applications/product/webapp/catalog/WEB-INF/actions/product/ framework/images/webapp/images/products/ENCHILADAS/ framework/imag...

hansbak-2
Author: hansbak
Date: Thu Mar  3 02:52:31 2011
New Revision: 1076507

URL: http://svn.apache.org/viewvc?rev=1076507&view=rev
Log:
issue https://issues.apache.org/jira/browse/OFBIZ-4194: reorder of product images and extension of the <@ofbizcontenturl macro. A contribution of Antwebsystems employee Tukkata

Added:
    ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/
    ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GC-001/
    ofbiz/trunk/framework/images/webapp/images/products/GC-001/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GC-001/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GC-001/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GC-001/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GC-002/
    ofbiz/trunk/framework/images/webapp/images/products/GC-002/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GC-002/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GC-002/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GC-002/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/detail.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/medium.gif   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/additional2.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser2.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser3.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser4.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser5.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/
    ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/
    ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/
    ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/
    ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/PC001/
    ofbiz/trunk/framework/images/webapp/images/products/PC001/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/PC001/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/PC001/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/PC001/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/PIZZA/
    ofbiz/trunk/framework/images/webapp/images/products/PIZZA/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/PIZZA/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/PIZZA/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/PIZZA/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-1111/
    ofbiz/trunk/framework/images/webapp/images/products/WG-1111/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-1111/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-1111/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-1111/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-5569/
    ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional2.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional3.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional4.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional5.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-5569/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-5569/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-5569/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-5569/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-9943/
    ofbiz/trunk/framework/images/webapp/images/products/WG-9943/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-9943/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-9943/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-9943/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-9944/
    ofbiz/trunk/framework/images/webapp/images/products/WG-9944/large-200.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-9944/large.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-9944/small-60.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/WG-9944/small.png   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/dropShip1/
    ofbiz/trunk/framework/images/webapp/images/products/dropShip1/large-200.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/dropShip1/large.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/dropShip1/small-60.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/dropShip1/small.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/dropShip2/
    ofbiz/trunk/framework/images/webapp/images/products/dropShip2/large-200.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/dropShip2/large.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/dropShip2/small-60.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/dropShip2/small.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/dropShip3/
    ofbiz/trunk/framework/images/webapp/images/products/dropShip3/large-200.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/dropShip3/large.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/dropShip3/small-60.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/dropShip3/small.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/
    ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/large-200.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/large.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/small-60.jpg   (with props)
    ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/small.jpg   (with props)
Removed:
    ofbiz/trunk/framework/images/webapp/images/products/additional/
    ofbiz/trunk/framework/images/webapp/images/products/large/
    ofbiz/trunk/framework/images/webapp/images/products/medium/
    ofbiz/trunk/framework/images/webapp/images/products/small/
Modified:
    ofbiz/trunk/applications/product/config/catalog.properties
    ofbiz/trunk/applications/product/src/org/ofbiz/product/image/ScaleImage.java
    ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductContent.groovy
    ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizContentTransform.java
    ofbiz/trunk/specialpurpose/ecommerce/data/DemoProductAdditionalViewData.xml
    ofbiz/trunk/specialpurpose/ecommerce/data/DemoProductImages.xml
    ofbiz/trunk/specialpurpose/ecommerce/data/DemoPurchasing.xml
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/productdetail.ftl

Modified: ofbiz/trunk/applications/product/config/catalog.properties
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/config/catalog.properties?rev=1076507&r1=1076506&r2=1076507&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/config/catalog.properties (original)
+++ ofbiz/trunk/applications/product/config/catalog.properties Thu Mar  3 02:52:31 2011
@@ -25,8 +25,8 @@ image.server.path=${sys:getProperty('ofb
 
 # -- The prefix to put on auto-generated image urls (can be relative or absolute, whatever you want)
 image.url.prefix=/images
-image.filename.format=${location}/${type}/${id}
-image.filename.additionalviewsize.format=${location}/${viewtype}/${sizetype}/${id}
+image.filename.format=${location}/${id}/${type}
+image.filename.additionalviewsize.format=${location}/${id}/${viewtype}/${sizetype}
 
 # -- Which default top category to display... --
 top.category.default=CATALOG1

Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/image/ScaleImage.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/image/ScaleImage.java?rev=1076507&r1=1076506&r2=1076507&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/image/ScaleImage.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/image/ScaleImage.java Thu Mar  3 02:52:31 2011
@@ -115,7 +115,7 @@ public class ScaleImage {
         String type = null;
         if (viewType.toLowerCase().contains("main")) {
             type = "original";
-            id = imgName;
+            id = (String) context.get("productId");
         } else if (viewType.toLowerCase().contains("additional") && viewNumber != null && !viewNumber.equals("0")) {
             type = "additional";
             id = imgName + "_View_" + viewNumber;
@@ -124,7 +124,7 @@ public class ScaleImage {
                     "ProductImageViewType", UtilMisc.toMap("viewType", type), locale));
         }
         FlexibleStringExpander mainFilenameExpander = FlexibleStringExpander.getInstance(mainFilenameFormat);
-        String fileLocation = mainFilenameExpander.expandString(UtilMisc.toMap("location", "products", "type", type, "id", filenameToUse));
+        String fileLocation = mainFilenameExpander.expandString(UtilMisc.toMap("location", "products", "id", context.get("productId"), "type", type));
         String filePathPrefix = "";
         if (fileLocation.lastIndexOf("/") != -1) {
             filePathPrefix = fileLocation.substring(0, fileLocation.lastIndexOf("/") + 1); // adding 1 to include the trailing slash
@@ -136,7 +136,6 @@ public class ScaleImage {
             /* get original BUFFERED IMAGE */
             resultBufImgMap.putAll(ImageTransform.getBufferedImage(imageServerPath + "/" + filePathPrefix + filenameToUse, locale));
         }
-        
         if (resultBufImgMap.containsKey("responseMessage") && resultBufImgMap.get("responseMessage").equals("success")) {
             bufImg = (BufferedImage) resultBufImgMap.get("bufferedImage");
 
@@ -168,10 +167,11 @@ public class ScaleImage {
 
                     // write the New Scaled Image
                     String newFileLocation = null;
+                    filenameToUse = sizeType + filenameToUse.substring(filenameToUse.lastIndexOf("."));
                     if (viewType.toLowerCase().contains("main")) {
-                        newFileLocation = mainFilenameExpander.expandString(UtilMisc.toMap("location", "products", "type", sizeType, "id", id));
+                        newFileLocation = mainFilenameExpander.expandString(UtilMisc.toMap("location", "products", "id", id, "type", sizeType));
                     } else if (viewType.toLowerCase().contains("additional")) {
-                        newFileLocation = addFilenameExpander.expandString(UtilMisc.toMap("location", "products", "viewtype", viewType, "sizetype", sizeType,"id", id));
+                        newFileLocation = addFilenameExpander.expandString(UtilMisc.toMap("location", "products", "id", id, "viewtype", viewType, "sizetype", sizeType));
                     }
                     String newFilePathPrefix = "";
                     if (newFileLocation.lastIndexOf("/") != -1) {
@@ -281,7 +281,7 @@ public class ScaleImage {
                     "ProductImageViewType", UtilMisc.toMap("viewType", type), locale));
         }
         FlexibleStringExpander mainFilenameExpander = FlexibleStringExpander.getInstance(mainFilenameFormat);
-        String fileLocation = mainFilenameExpander.expandString(UtilMisc.toMap("location", "products", "type", type, "id", filenameToUse));
+        String fileLocation = mainFilenameExpander.expandString(UtilMisc.toMap("location", "products", "id", context.get("productId"), "type", type));
         String filePathPrefix = "";
         if (fileLocation.lastIndexOf("/") != -1) {
             filePathPrefix = fileLocation.substring(0, fileLocation.lastIndexOf("/") + 1); // adding 1 to include the trailing slash
@@ -326,9 +326,9 @@ public class ScaleImage {
                     // write the New Scaled Image
                     String newFileLocation = null;
                     if (viewType.toLowerCase().contains("main")) {
-                        newFileLocation = mainFilenameExpander.expandString(UtilMisc.toMap("location", "products", "type", sizeType, "id", id));
+                        newFileLocation = mainFilenameExpander.expandString(UtilMisc.toMap("location", "products", "id", id, "type", sizeType));
                     } else if (viewType.toLowerCase().contains("additional")) {
-                        newFileLocation = addFilenameExpander.expandString(UtilMisc.toMap("location", "products", "viewtype", viewType, "sizetype", sizeType,"id", id));
+                        newFileLocation = addFilenameExpander.expandString(UtilMisc.toMap("location", "products","id", id, "viewtype", viewType, "sizetype", sizeType));
                     }
                     String newFilePathPrefix = "";
                     if (newFileLocation.lastIndexOf("/") != -1) {

Modified: ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductContent.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductContent.groovy?rev=1076507&r1=1076506&r2=1076507&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductContent.groovy (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductContent.groovy Thu Mar  3 02:52:31 2011
@@ -33,11 +33,11 @@ context.imageServerPath = imageServerPat
 context.imageUrlPrefix = imageUrlPrefix;
 
 filenameExpander = FlexibleStringExpander.getInstance(imageFilenameFormat);
-context.imageNameSmall  = imageUrlPrefix + "/" + filenameExpander.expandString([location : 'products', type : 'small' , id : productId]);
-context.imageNameMedium = imageUrlPrefix + "/" + filenameExpander.expandString([location : 'products', type : 'medium', id : productId]);
-context.imageNameLarge  = imageUrlPrefix + "/" + filenameExpander.expandString([location : 'products', type : 'large' , id : productId]);
-context.imageNameDetail = imageUrlPrefix + "/" + filenameExpander.expandString([location : 'products', type : 'detail', id : productId]);
-context.imageNameOriginal = imageUrlPrefix + "/" + filenameExpander.expandString([location : 'products', type : 'original', id : productId]);
+context.imageNameSmall  = imageUrlPrefix + "/" + filenameExpander.expandString([location : 'products', id : productId, type : 'small']);
+context.imageNameMedium = imageUrlPrefix + "/" + filenameExpander.expandString([location : 'products', id : productId, type : 'medium']);
+context.imageNameLarge  = imageUrlPrefix + "/" + filenameExpander.expandString([location : 'products', id : productId, type : 'large']);
+context.imageNameDetail = imageUrlPrefix + "/" + filenameExpander.expandString([location : 'products', id : productId, type : 'detail']);
+context.imageNameOriginal = imageUrlPrefix + "/" + filenameExpander.expandString([location : 'products', id : productId, type : 'original']);
 
 // Start ProductContent stuff
 productContent = null;
@@ -68,7 +68,7 @@ if (fileType) {
 
     context.fileType = fileType;
 
-    fileLocation = filenameExpander.expandString([location : 'products', type : fileType, id : productId]);
+    fileLocation = filenameExpander.expandString([location : 'products', id : productId, type : fileType]);
     filePathPrefix = "";
     filenameToUse = fileLocation;
     if (fileLocation.lastIndexOf("/") != -1) {

Added: ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/ENCHILADAS/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GC-001/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GC-001/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GC-001/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GC-001/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GC-001/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GC-001/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GC-001/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GC-001/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GC-001/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GC-001/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GC-001/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GC-001/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GC-002/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GC-002/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GC-002/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GC-002/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GC-002/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GC-002/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GC-002/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GC-002/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GC-002/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GC-002/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GC-002/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GC-002/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/detail.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/detail.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/detail.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/medium.gif
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/medium.gif?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/medium.gif
------------------------------------------------------------------------------
    svn:mime-type = image/gif

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1000/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1001/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1004/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1005/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-1006/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-2002/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/additional2.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/additional2.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/additional2.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser2.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser2.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser2.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser3.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser3.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser3.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser4.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser4.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser4.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser5.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser5.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-2644/web_browser5.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-5005/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-7000/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-8544/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/GZ-9290/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/PC001/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/PC001/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/PC001/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/PC001/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/PC001/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/PC001/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/PC001/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/PC001/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/PC001/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/PC001/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/PC001/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/PC001/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/PIZZA/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/PIZZA/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/PIZZA/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/PIZZA/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/PIZZA/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/PIZZA/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/PIZZA/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/PIZZA/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/PIZZA/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/PIZZA/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/PIZZA/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/PIZZA/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-1111/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-1111/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-1111/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-1111/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-1111/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-1111/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-1111/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-1111/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-1111/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-1111/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-1111/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-1111/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional2.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional2.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional2.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional3.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional3.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional3.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional4.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional4.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional4.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional5.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional5.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/additional5.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-5569/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-5569/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-5569/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-5569/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-5569/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-9943/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-9943/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-9943/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-9943/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-9943/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-9943/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-9943/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-9943/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-9943/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-9943/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-9943/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-9943/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-9944/large-200.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-9944/large-200.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-9944/large-200.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-9944/large.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-9944/large.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-9944/large.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-9944/small-60.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-9944/small-60.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-9944/small-60.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/WG-9944/small.png
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/WG-9944/small.png?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/WG-9944/small.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: ofbiz/trunk/framework/images/webapp/images/products/dropShip1/large-200.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/dropShip1/large-200.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/dropShip1/large-200.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/dropShip1/large.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/dropShip1/large.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/dropShip1/large.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/dropShip1/small-60.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/dropShip1/small-60.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/dropShip1/small-60.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/dropShip1/small.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/dropShip1/small.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/dropShip1/small.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/dropShip2/large-200.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/dropShip2/large-200.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/dropShip2/large-200.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/dropShip2/large.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/dropShip2/large.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/dropShip2/large.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/dropShip2/small-60.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/dropShip2/small-60.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/dropShip2/small-60.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/dropShip2/small.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/dropShip2/small.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/dropShip2/small.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/dropShip3/large-200.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/dropShip3/large-200.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/dropShip3/large-200.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/dropShip3/large.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/dropShip3/large.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/dropShip3/large.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/dropShip3/small-60.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/dropShip3/small-60.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/dropShip3/small-60.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/dropShip3/small.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/dropShip3/small.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/dropShip3/small.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/large-200.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/large-200.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/large-200.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/large.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/large.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/large.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/small-60.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/small-60.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/small-60.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/small.jpg
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/small.jpg?rev=1076507&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/images/webapp/images/products/orderWhenSold/small.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizContentTransform.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizContentTransform.java?rev=1076507&r1=1076506&r2=1076507&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizContentTransform.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizContentTransform.java Thu Mar  3 02:52:31 2011
@@ -24,11 +24,16 @@ import java.util.Map;
 
 import javax.servlet.http.HttpServletRequest;
 
+import org.ofbiz.base.util.Debug;
+import org.ofbiz.base.util.StringUtil;
+import org.ofbiz.base.util.UtilValidate;
 import org.ofbiz.webapp.taglib.ContentUrlTag;
+import org.owasp.esapi.errors.EncodingException;
 
 import freemarker.core.Environment;
 import freemarker.ext.beans.BeanModel;
 import freemarker.template.TemplateModelException;
+import freemarker.template.TemplateScalarModel;
 import freemarker.template.TemplateTransformModel;
 
 /**
@@ -39,8 +44,28 @@ public class OfbizContentTransform imple
     public final static String module = OfbizUrlTransform.class.getName();
 
     @SuppressWarnings("unchecked")
+    private static String getArg(Map args, String key) {
+        String  result = "";
+        Object obj = args.get(key);
+        if (obj != null) {
+            if (Debug.verboseOn()) Debug.logVerbose("Arg Object : " + obj.getClass().getName(), module);
+            if (obj instanceof TemplateScalarModel) {
+                TemplateScalarModel s = (TemplateScalarModel) obj;
+                try {
+                    result = s.getAsString();
+                } catch (TemplateModelException e) {
+                    Debug.logError(e, "Template Exception", module);
+                }
+            } else {
+              result = obj.toString();
+            }
+        }
+        return result;
+    }
+    
     public Writer getWriter(final Writer out, Map args) {
         final StringBuilder buf = new StringBuilder();
+        final String imgSize = OfbizContentTransform.getArg(args, "variant");
         return new Writer(out) {
             @Override
             public void write(char cbuf[], int off, int len) {
@@ -61,12 +86,30 @@ public class OfbizContentTransform imple
 
                     String requestUrl = buf.toString();
 
+                    try {
+                        requestUrl = StringUtil.defaultWebEncoder.decodeFromURL(requestUrl);
+                    } catch (EncodingException e) {
+                        Debug.logError(e, module);
+                    }
+
                     // make the link
                     StringBuilder newURL = new StringBuilder();
                     ContentUrlTag.appendContentPrefix(request, newURL);
                     if (newURL.length() > 0 && newURL.charAt(newURL.length() - 1) != '/' && requestUrl.charAt(0) != '/') {
                         newURL.append('/');
                     }
+
+                    if(UtilValidate.isNotEmpty(imgSize)){
+                        if(!"/images/defaultImage.jpg".equals(requestUrl)){
+                            int index = requestUrl.lastIndexOf(".");
+                            if (index > 0) {
+                                String suffix = requestUrl.substring(index);
+                                String imgName = requestUrl.substring(0, index);
+                                requestUrl = imgName + "-" + imgSize + suffix;
+                            }
+                        }
+                    }
+
                     newURL.append(requestUrl);
                     out.write(newURL.toString());
                 } catch (TemplateModelException e) {


Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1076507 [1/2] - in /ofbiz/trunk: applications/product/config/ applications/product/src/org/ofbiz/product/image/ applications/product/webapp/catalog/WEB-INF/actions/product/ framework/images/webapp/images/products/ENCHILADAS/ framework/imag...

rohit
hi,

i see that in this commit the images folders are being deleted. I assume that anyone running ofbiz on its trunk would lose all the product images if they updated their code as the folder will be deleted.

please correct me if I am wrong. and if this is the case, i am really surprised how such a major change can be included without further discussions. the current commit also shows that a new folder is created for every product, thus if a store had say 100K products, there will be 100K additional folders created. I am not sure if this is at all expected or desirable and before getting such major changes incorporated in the trunk, it has not been discussed at all.

please post your feedback.

thanks

Rohit