[ https://issues.apache.org/jira/browse/OFBIZ-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux updated OFBIZ-2128: ----------------------------------- Attachment: productImageAutoScale.patch Hi Eric, In this new patch I have added a block of lines (near ImageTransform.java[267]) wich allows a dynamic creation of the framework/images/webapp/images/products sub-directories. I did not commit yet because I 'm still to figure out if we should onot introduce rather an external API for such tool. BTW Imagero is not usable because of licence aspects, it's clearly a commercial product. So the candidates seem to be so far # [PMIW: Poor Man's Imaging Wrapper|http://www.mullassery.com/software/PMIW/index.jsp] # [Java Advanced Imaging (JAI) API|http://java.sun.com/javase/technologies/desktop/media/jai/] tough not sure to [its licence|https://jai.dev.java.net/jdl-jai.pdf] Any imputs appreciated > product image auto scale > ------------------------- > > Key: OFBIZ-2128 > URL: https://issues.apache.org/jira/browse/OFBIZ-2128 > Project: OFBiz > Issue Type: New Feature > Components: product > Affects Versions: SVN trunk > Environment: Linux Debian, OFBiz trunk rev. 737217 > Reporter: Eric DE MAULDE > Assignee: Jacques Le Roux > Priority: Trivial > Fix For: SVN trunk > > Attachments: productImageAutoScale.patch, > productImageAutoScale.patch, screenshot-1.jpg > > > This change allows to auto-scale product image when a user upload an original > image. > The original image is saved into OFBiz. > Default dimensions of each image size type (small, medium, large, detail) are > defined in ImageProperties.xml > When an user uploads an original image, OFBiz resizes this image and creates > each related file. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.