[ 
https://issues.apache.org/jira/browse/OFBIZ-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664941#action_12664941
 ] 

Jacques Le Roux commented on OFBIZ-2128:
----------------------------------------

Hi Eric,

Some issues with your patch

* I guess you use a local repository because you have a revision 7215 number
* I don't know how you generated your patch but I get this error
D:\workspace\ofbizRun>patch -p0  0<ProductImageAutoScale.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|´╗┐=== entitymodel.xml
|==================================================================
|--- entitymodel.xml    (applications/product/entitydef/entitymodel.xml)        
(revision 7215)
|+++ entitymodel.xml    (applications/product/entitydef/entitymodel.xml)        
(revision 7215)

Please (re)read  
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices

Thanks
--------------------------
File to patch: EOF

>  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. 735315
>            Reporter: Eric DE MAULDE
>             Fix For: SVN trunk
>
>         Attachments: 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.

Reply via email to