order product images by product id and not by size and allow selection by extending of the <@ofbizContentRrl macro
------------------------------------------------------------------------------------------------------------------ Key: OFBIZ-4194 URL: https://issues.apache.org/jira/browse/OFBIZ-4194 Project: OFBiz Issue Type: Improvement Components: framework, product, specialpurpose/ecommerce Affects Versions: SVN trunk Environment: any Reporter: Hans Bakker Assignee: Hans Bakker Priority: Minor Fix For: SVN trunk As you can see we have added product image management to the system. In this new function, images are stored in the file system by productId in the same map. OFBiz however stores the images by size in a map called 'large' and 'small' We would like to suggest to change the demo data and images , so they are also stored by product id and not by size as it is now. Connected with this we would like to extend the <@ofbizcontenturl> macro and add an optional 'variant' parameter which will add a -xxx to the image filename to select a different size variant image in the product map. So as is is now: <@ofbizContentUrl>path_to_the_image.imagename.jpg</@ofbizContent> what we suggest should also be possible: <@ofbizContentUrl variant="xxx">path_to_the_iamge/imageFileName.jpg</@ofbizContent> which will result in: path_to_the_image/imageFileName-XXX.jpg We will also add a function to the image management system where you can create a new size for all images. Regards, Hans -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-4194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hans Bakker closed OFBIZ-4194. ------------------------------ Resolution: Fixed Committed revision 1076507. > order product images by product id and not by size and allow selection by extending of the <@ofbizContentRrl macro > ------------------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-4194 > URL: https://issues.apache.org/jira/browse/OFBIZ-4194 > Project: OFBiz > Issue Type: Improvement > Components: framework, product, specialpurpose/ecommerce > Affects Versions: SVN trunk > Environment: any > Reporter: Hans Bakker > Assignee: Hans Bakker > Priority: Minor > Fix For: SVN trunk > > > As you can see we have added product image management to the system. > In this new function, images are stored in the file system by productId in the same map. OFBiz however stores the images by size in a map called 'large' and 'small' > We would like to suggest to change the demo data and images , so they are also stored by product id and not by size as it is now. > Connected with this we would like to extend the <@ofbizcontenturl> macro and add an optional 'variant' parameter which will add a -xxx to the image filename to select a different size variant image in the product map. > So as is is now: <@ofbizContentUrl>path_to_the_image.imagename.jpg</@ofbizContent> > what we suggest should also be possible: <@ofbizContentUrl variant="xxx">path_to_the_iamge/imageFileName.jpg</@ofbizContent> which will result in: > path_to_the_image/imageFileName-XXX.jpg > We will also add a function to the image management system where you can create a new size for all images. > Regards, > Hans -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001915#comment-13001915 ] Jacques Le Roux commented on OFBIZ-4194: ---------------------------------------- Hi Hans, Could you please have a look at OFBIZ-4196, I think it's a quick fix Thanks > order product images by product id and not by size and allow selection by extending of the <@ofbizContentRrl macro > ------------------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-4194 > URL: https://issues.apache.org/jira/browse/OFBIZ-4194 > Project: OFBiz > Issue Type: Improvement > Components: framework, product, specialpurpose/ecommerce > Affects Versions: SVN trunk > Environment: any > Reporter: Hans Bakker > Assignee: Hans Bakker > Priority: Minor > Fix For: SVN trunk > > > As you can see we have added product image management to the system. > In this new function, images are stored in the file system by productId in the same map. OFBiz however stores the images by size in a map called 'large' and 'small' > We would like to suggest to change the demo data and images , so they are also stored by product id and not by size as it is now. > Connected with this we would like to extend the <@ofbizcontenturl> macro and add an optional 'variant' parameter which will add a -xxx to the image filename to select a different size variant image in the product map. > So as is is now: <@ofbizContentUrl>path_to_the_image.imagename.jpg</@ofbizContent> > what we suggest should also be possible: <@ofbizContentUrl variant="xxx">path_to_the_iamge/imageFileName.jpg</@ofbizContent> which will result in: > path_to_the_image/imageFileName-XXX.jpg > We will also add a function to the image management system where you can create a new size for all images. > Regards, > Hans -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001917#comment-13001917 ] Hans Bakker commented on OFBIZ-4194: ------------------------------------ ok, we will have a look..... -- http://www.antwebsystems.com : Quality OFBiz support for competitive rates.... > order product images by product id and not by size and allow selection by extending of the <@ofbizContentRrl macro > ------------------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-4194 > URL: https://issues.apache.org/jira/browse/OFBIZ-4194 > Project: OFBiz > Issue Type: Improvement > Components: framework, product, specialpurpose/ecommerce > Affects Versions: SVN trunk > Environment: any > Reporter: Hans Bakker > Assignee: Hans Bakker > Priority: Minor > Fix For: SVN trunk > > > As you can see we have added product image management to the system. > In this new function, images are stored in the file system by productId in the same map. OFBiz however stores the images by size in a map called 'large' and 'small' > We would like to suggest to change the demo data and images , so they are also stored by product id and not by size as it is now. > Connected with this we would like to extend the <@ofbizcontenturl> macro and add an optional 'variant' parameter which will add a -xxx to the image filename to select a different size variant image in the product map. > So as is is now: <@ofbizContentUrl>path_to_the_image.imagename.jpg</@ofbizContent> > what we suggest should also be possible: <@ofbizContentUrl variant="xxx">path_to_the_iamge/imageFileName.jpg</@ofbizContent> which will result in: > path_to_the_image/imageFileName-XXX.jpg > We will also add a function to the image management system where you can create a new size for all images. > Regards, > Hans -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |