-
AuthorPosts
-
May 5, 2015 at 12:11 pm #439653
Hi,
I want to create a gallery with images of differing dimensions. When I do that, the images aren’t cropped to look like a nice gallery, the end result is this:http://www.quickercleaner.com/before-after/
Can’t the gallery crop every image to make the thumbnails the same dimensions?
Thanks
TomMay 5, 2015 at 9:32 pm #440012Hi halasyt!
It would be best to crop your images before uploading but in the gallery options you can select which thumbnail size to use. Perhaps you could try the medium size, 300 x 300.
Cheers!
ElliottMay 6, 2015 at 5:08 pm #440473I set it to 300×300, but nothing, same result. You can check it again:
http://www.quickercleaner.com/before-after/
Is this the way this gallery is supposed to work, or is this a bug? All other galleries work by cropping the images, and creating a nice layout.
Tom
May 8, 2015 at 3:07 am #441333Hi!
This is the default behaviour of the gallery, not a bug. The crop parameter of the Medium size is set to false by default that’s why it doesn’t crop the thumbnails to the exact dimension (300x300px). If you want to have a consistent gallery, resize the images to a fixed size before uploading them as gallery item. Test another thumbnail size until you get a more consistent gallery column.
Best regards,
IsmaelMay 18, 2015 at 10:07 pm #446056Hi,
This is a real pain, why do you set the crop parameter to false? Not user friendly at all. How can I set it to true?
TomMay 20, 2015 at 7:30 am #446949Hey!
We set the crop parameter to false so that images can keep the aspect ratio. Example, if you have a person inside an image, you don’t want his/her head to get cut off, do you? This also applies in the images inside your gallery, there’s a chance that important parts of the images will get cut off if you set the crop parameter to true. That’s why it is disabled. If you don’t care about that, use this plugin: https://wordpress.org/plugins/simple-image-sizes/
Set the crop parameter, adjust the size then regenerate the thumbnails. Make sure that the size of the images is more than the set thumbnail (300x300px for example).
Cheers!
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.