Open Artiom-M opened 1 year ago
Try cropZoom rather than cropResize On Dec 16, 2022 at 23:27 -0700, Artiom-M @.***>, wrote:
Assigned #326 to @rhukster. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were assigned.Message ID: @.***>
Changing to cropZoom here DSCF8120.JPG?cropResize=512,512
just makes my thumbnails as ugly as this lightbox view. So I would suspect I need to tell lightbox to do cropResize
instead.
Image media handling (cropZoom, cropResize, etc) are not smart enough to know where to crop, you need to tell it how. usually a square is a good way to cropZoom ad it should keep things in the middle.
Full list of available options: https://learn.getgrav.org/17/content/media
Actually I don't want to cropZoom. I want cropResize for the thumbnail. Also thumbnail is not a problem. What I am reporting here is that inside the lightbox full size image is truncated. As you can see on the picture.
This is most visible on vertical photos, when inside lightbox the image is scaled horizontally, but truncated vertically.
Gallery is created using shortcodes: