Closed (fixed)
Project:
Indiana University Paragraphs
Version:
2.2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
14 Oct 2024 at 18:45 UTC
Updated:
28 Oct 2024 at 20:24 UTC
Jump to comment: Most recent
The Rivet Horizontal Card style expects a square image, however the module codebase assumes a 16:9 aspect ratio image. If a square source image is used, The rvt_card image style will zoom the image in so that it crops properly to 16:9, then we apply the square style using CSS object fit. This results in images being zoomed in too far.
Detect when a Card is configured to display as Horizontal. Use the rvt_card__horizontal image style and media view mode to crop images to 1:1 aspect ratio (square) on the server and avoid the extra zoom effect.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jwilson3Comment #3
jwilson3Comment #6
jwilson3Included in release 2.2.1