Details
-
Task
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
-
Add-Ons 36
-
1
Description
From tonda in ECOMMERCE-226
For jlegendre:
This ticket introduced multipleImageField and URLImageField for displaying images from list of URLs.
multipleImageField displays all images from the list, URLImageField displays only the first one from the list.
Example definitions:
images: label: Productimage(s) $type: multipleImageField converterClass: info.magnolia.ecommerce.app.productdetail.field.URLsToStrings imageRatio: 60
images: label: Product image $type: URLImageField converterClass: info.magnolia.ecommerce.app.productdetail.field.ListOfURLsToString imageRatio: 60
Property imageRatio defines a ratio of displayed images to the original images in percentages (in the examples it's 60%). If the property isn't set the images are displayed in the original size. We use the multipleImageField for displaying product images on product detail form (configured in /ecommerce-ui/apps/ecommerce.yaml).
Checklists
Acceptance criteria