Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Ok i went to media types and set my gallery thumbnails media type to 'thumbnail'
Now if i goto Image Styles and edit 'thumbnails' and say i resize the thumb. Nothing happens. If i recrop and resize it will remain the same size but crop as in its zoomed in.
How can I make the gallery thumbnails smaller?
Id also like to know which class to alter to remove the white border around thumbs?
Comments
Comment #1
anavarreSubscribing. Same problem here with beta4.
Comment #2
SharonD214@aol.com CreditAttribution: SharonD214@aol.com commentedSame here with beta7
Sharon
Comment #3
anavarreChanging version accordingly.
Comment #4
hagit CreditAttribution: hagit commentedSame here with beta7
Comment #5
Moloc CreditAttribution: Moloc commentedThis is a CSS issue. The image style is used in the collection view (for viewing the galleries) and the gallery view (viewing the media of a gallery) and in block-view. Changing the image style will affect this views.
You may not see any change, because media_gallery uses CSS to stretch the image in width to 100% of the column-width (height depends on the same stretch-factor as used in width). I think, this is a feature, so you can set in the gallery-settings the amount of columns. The images depend on the column-count and are either smaller or greater as the original (defined in the image style).
The easiest way to make the images smaller is adding a margin-value to the item at:
media_gallery.css
Note: This code is also responsible for creating the border with the white space around the thumbs.
Comment #6
lsolesen CreditAttribution: lsolesen commented