Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I want my gallery to show the image as they are not transform them to width or height.
How to show the gallery with the right proportion.
Comment | File | Size | Author |
---|---|---|---|
#3 | Afbeelding 2.png | 306.03 KB | knalstaaf |
#5 | image-crop.jpg | 48.98 KB | knalstaaf |
#4 | height-galleria.txt | 14.02 KB | knalstaaf |
Comments
Comment #1
jddeli CreditAttribution: jddeli commentedIt was my mistake but there is not a guide how to use this module.
I found that in the content type you have to make the image size for it.
Comment #2
sgabe CreditAttribution: sgabe commentedComment #3
knalstaaf CreditAttribution: knalstaaf commentedOur images are being uploaded in a single node and then displayed in a Galleria block, so we're not using the display set in the content type.
The width of the image is respected, but the (maximum) height is ignored. On landscape photo's it looks quite alright but portrait pictures don't look too well ofcourse. You can only see the middle of the picture and Firebug shows that the rest of the picture is hidden behind the other content.
Comment #4
knalstaaf CreditAttribution: knalstaaf commentedAttached: Views export
Comment #5
knalstaaf CreditAttribution: knalstaaf commentedImage crop being set to "False" in the format settings solves the problem.
Comment #6
gmclelland CreditAttribution: gmclelland commentedClosing based on the comment in #5