[Support request] how to adjust image sizes

Home Forums Support [Support request] how to adjust image sizes

Home Forums Support how to adjust image sizes

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.

    #799862
    Leo
    Staff
    Customer Support

    Hi 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 🙂

    #799885
    Marco

    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

    #799897
    Leo
    Staff
    Customer Support

    It 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_Screen

    #799904
    Marco

    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

    #799906
    Leo
    Staff
    Customer Support

    Ahh 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.

    #799908
    Marco

    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?

    #799926
    Leo
    Staff
    Customer Support
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.