[MGNLIMG-123] Automatically generate additional image resolutions for high pixel resolution devices (retina) Created: 06/Mar/14  Updated: 19/May/22  Resolved: 19/May/22

Status: Closed
Project: Imaging
Component/s: None
Affects Version/s: 3.0.3
Fix Version/s: 3.0.x

Type: Task Priority: Major
Reporter: Christopher Zimmermann Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

The variations feature should provide a mechanism to generate higher resolution images, probably based on a parameter or other indicator in the image url.
The use case is to provide for "retina" devices. You should only have to define one variation, and it will generate the specified image size for normal requests, but will serve an image with double the width and height for requests with a specific parameter.

Consider for example from the stk demo pop theme, variation "content".
Requested normally:
http://localhost:8081/magnolia-bundled-webapp/.imaging/stk/pop/content/dam/demo-project/img/bk/Opener/coral-light/jcr:content/coral%20light.2012-02-17-12-13-26.jpg
It generates and serves an image with specified width: 458

Requested with parameter "2x" for doubling, like maybe
... content/dam/demo-project/img/bk/Opener/coral-light/jcr:content/coral%20light.2012-02-17-12-13-26@2x.jpg
or maybe
... content/dam/demo-project/img/bk/Opener/coral-light/jcr:content/coral%20light.2012-02-17-12-13-26.jpg?s=2x
It creates with width: 916

Also to consider - how magnolia decides when to deliver images for high pixel density displays. Is it server side, or a javascript technique like
http://retinajs.com



 Comments   
Comment by Roman Kovařík [ 19/May/22 ]

Hello,

This ticket is now marked as closed due to one of the following reasons:

  • A long period of inactivity
  • Uses an old or Beta version of an application, module, or framework that we no longer support
  • The issue is no longer reproducible or has been fixed in later versions

If you are still facing a problem or consider this issue still relevant, please feel free to re-open the ticket and we will reach out to you.

Thank you,
The Magnolia Team

Generated at Mon Feb 12 02:12:30 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.