[ 
https://issues.apache.org/jira/browse/OFBIZ-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric de Maulde updated OFBIZ-4212:
----------------------------------

    Attachment: ScaleImage.patch

Here is a new patch to scale main image product content and additional image 
product content, works with both image filename format (catalog.properties) to 
upload an image.

Old image file system :

image.filename.format=${location}/${type}/${id}
image.filename.additionalviewsize.format=${location}/${id}/${viewtype}/${sizetype}

New image file system

image.filename.format=${location}/${id}/${type}
image.filename.additionalviewsize.format=${location}/${id}/${viewtype}/${sizetype}

I always have an error when I upgrade an additional image.

Right url is now only into the DataResource entity !!!

> Old image file name format causes an error scaling updated an original image
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-4212
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4212
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: trunk 1080218
>            Reporter: Eric de Maulde
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: ScaleImage.patch, ScaleImage.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> To scale image into Product Content with the old catalog.properties 
> configuration, "FilenameToUse" is wrong with the new issue about Image 
> Management https://issues.apache.org/jira/browse/OFBIZ-4194
> image.filename.format=${location}/${type}/${id}
> image.filename.additionalviewsize.format=${location}/${viewtype}/${sizetype}/${id}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to