Commit Graph
9 Commits
Author SHA1 Message Date
Jacques Le Roux 2fe76bead8 Improved: Misc trivial changes done while working on others issues 2020-11-11 20:43:59 +01:00
Erwan de Ferrieres 8c0a41e885 tabs to spaces, no functional changes - xml files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1230481 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 10:51:58 +00:00
Hans Bakker 65d7832c14 patch provided by Eric de Maulde OFBIZ-4217: Scaling image for every size type from ImageProperties.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085275 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 07:57:46 +00:00
Hans Bakker 71deee90f6 Add mass rename and resize functions for product images in image management
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073621 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 07:06:07 +00:00
Hans Bakker f1c5dc2112 Image management: make image file location and url configurable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071878 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 04:12:43 +00:00
Hans Bakker 50b24e3ee5 the first version of a product image management system to upload/approve and manupulate product images, see catalog -> image management
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052521 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 15:22:49 +00:00
Jacques Le Roux c8d757a6af A patch from Anne Jessel "Improve handling and display of additional product images" (https://issues.apache.org/jira/browse/OFBIZ-4024) - OFBIZ-4024
This patch adds several closely-related features, intended to improve the display of products and their images in the ecommerce webapp.

When additional images for a product are uploaded via the Catalog, the scaled versions that were already being created in service addAdditionalViewForProduct are now recorded as ProductContent. This makes them easily available for use elsewhere.

New ProductContentType values were added to identify these content types. The obviously consistent string to use for these was too long, and so I had to choose something less consistent, but shorter and hopefully still clear. I used XTRA instead of ADDITIONAL.

The sizes to which additional images are rescaled has been changed, so they better fit in the ecommerce display. Relevant sizes in productdetail.ftl have been updated to match these sizes.

The ecommerce product display now uses the scaled additional images if available, rather than relying on the web browser to scale the images.

When displaying a single product in ecommerce, the main image is larger than the additional images. Hovering over an additional image displays a larger version in place of the main image.

Clicking on an additional image displays a popup with a detailed version of the image.

To use the new features, one or more large images (suggest at least 600x600) should be attached as additional images to a product, using the form on the bottom of the content tab for a product in Catalog. Viewing the product in ecommerce should then exhibit the above behaviour.

I have tried to maintain backwards compatibility, so that products with the old-style use of additional images will continue to display as they did previously. This means some of the code is not as streamlined as it might be.

JLR: You might prefer to keep the old ImageProperties.xml values...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042024 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 22:05:19 +00:00
Christian Geisert a2bcf0b35a fixed a few eol-styles
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885761 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 13:35:42 +00:00
Jacques Le Roux 7467abd9da A modified patch from Eric De Maulde "Product image auto scale" '(https://issues.apache.org/jira/browse/OFBIZ-2128) - OFBIZ-2128
I simply added a dynamic directories creation. This patch works but maybe we could use and API for better result (see Jira issue)




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739042 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 22:06:32 +00:00