- This topic has 7 replies, 2 voices, and was last updated 4 years, 4 months ago by
Leo.
-
AuthorPosts
-
February 2, 2019 at 3:16 pm #799860
Marco
Hello
as I understand we have the following image sizes at our disposal: thumbnail, medium, medium large, and large?
where are those defined – is there a way to enforce a crop on those sizes – the issue I’m having is that I’ve posts in there columns with the featured image at the top of the posts – however the thumbnails have different heights and that doesn’t look good at all – cropping those images to the same size upon adding to the media library doesn’t seem practical to me.Thank you in advance for your input.
February 2, 2019 at 3:19 pm #799862Leo
StaffCustomer SupportHi there,
Have you tried these options here?
https://docs.generatepress.com/article/adjusting-the-featured-images/You can specify the height and just leave the width blank to be auto.
Let me know if this helps 🙂
February 2, 2019 at 4:24 pm #799885Marco
I’m not sure whether that would work – I guess the height should be different whether I’m showing the posts and two columns vs. three columns – there should be a way to enable cropping on those sizes: thumbnail, medium, medium large, and large upon uploading – I’m sure there is a way we just have to figure out how to do it
February 2, 2019 at 5:13 pm #799897Leo
StaffCustomer SupportIt should – you would just have to adjust the px number if you change from 2 columns to 3 columns.
GP itself doesn’t handle the uploading picture part. It’s all WordPress media library:
https://codex.wordpress.org/Media_Library_ScreenFebruary 2, 2019 at 5:18 pm #799904Marco
I must be missing something – first of all, I’m using some Gutenberg plugin to show the posts in some responsive columns – I might have 3 columns on the desktop, two on the tablet and one on the phone – the plugin just asks me for the image size with no options to either set the width or the height that’s why I’d like to have all my e.g. medium sized images cropped to exactly the same size so the behave equally no matter how I’m showing them
February 2, 2019 at 5:23 pm #799906Leo
StaffCustomer SupportAhh you never mentioned about using a plugin before.
The plugin likely has their way for sizing images so you will have to check with their support.
February 2, 2019 at 5:25 pm #799908Marco
doesn’t matter whether I use a plugin or not – could also be some custom function – I’m just looking for a way for using e.g. a medium picture that is the same size across all images no matter what size of image gets uploaded to the media library?
February 2, 2019 at 5:53 pm #799926Leo
StaffCustomer SupportMaybe something like this?
https://stackoverflow.com/questions/3725894/how-to-change-default-image-thumbnail-sizes-in-wordpress -
AuthorPosts
- You must be logged in to reply to this topic.