[DOCU-2642] Focal Point module links for variations Created: 17/Jan/23  Updated: 15/Feb/23  Resolved: 15/Feb/23

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Christoph Damm Assignee: Alex Mansell
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation page URL: https://docs.magnolia-cms.com/dam-focal/index.html#_configuration
Reporter Name: Christoph Damm
Email: christoph.damm@isotravel.com

 Description   

Hello,

given following use case using the focal point module:

  • 2 variations, one 16x9 ratio one 2:1 ratio with both the same allowed width.
  • I want to display use in one module the 16x9 ratio and in another one the 2x1 ratio

The documentation does state or show how one can create a link for one specific variation.
To my tests it is however possible in the same way as described for the focal area module.

Also: the provided templating functions do not support the above, hence one has to create it's own extension for those to allow creating a link with a variation for the focal point.

 

Cheers,

 

Chris



 Comments   
Comment by Christoph Damm [ 25/Jan/23 ]

In addtion to the above: the templating functions ask for heigth/width as ints, so one can only pass 0 not null. Which will create something like 1200x0 which seems to work, but is not quite obvious or matching the documentation. 

Generated at Mon Feb 12 01:28:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.