[MTE-130] DOC: New 'expand' property in SimpleResizeVariation Created: 26/May/21  Updated: 08/Jun/21  Resolved: 08/Jun/21

Status: Closed
Project: Magnolia Templating Essentials
Component/s: None
Affects Version/s: 1.5.4
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Ashraf Khamis Assignee: Ashraf Khamis
Resolution: Done Votes: 0
Labels: imaging, theme
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
documentation
documents MTE-122 Add expand option to SimpleResizeVari... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Sprint: UI FW 29, UI FW 30
Story Points: 1

 Description   

There is now the option to specify if an image should be expanded when it is not cropped.

private boolean expand = false

Java class definition: https://git.magnolia-cms.com/projects/MODULES/repos/templating-essentials/browse/magnolia-templating-essentials-imaging/src/main/java/info/magnolia/templating/imaging/variation/SimpleResizeVariation.java

Pages to update:



 Comments   
Comment by Ashraf Khamis [ 08/Jun/21 ]

Added the expand property to https://docs.magnolia-cms.com/product-docs/Templating/Theme.html#_image_variations and https://docs.magnolia-cms.com/product-docs/Templating/Template-scripts/How-to-work-with-images/How-to-work-with-images-using-damfn.html#_configuring_theme_variations. Reviewed the language and fixed all formatting issues on both pages.

Reviewed by Rich & Rico.

Generated at Mon Feb 12 07:41:48 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.