[Resolved] Featured images distorted after last update

Home Forums Support Featured images distorted after last update

  • This topic has 21 replies, 3 voices, and was last updated 1 month ago by Tom.
Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #1225304
    Anil

    I feel something changed in featured images in plugin.

    i am seeing improper size in mobiles, and some distortions on desktop….

    please guide…

    #1225316
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    1.10.0 changed the way featured images are resized.

    Are you using any custom functions? Specifically this filter?: generate_blog_image_attributes

    If so, can you share your code?

    #1225334
    Anil

    No, I am not using any custom function for featured images…

    #1225363
    Leo
    Staff
    Customer Support

    I’m seeing this CSS in Simple CSS:

    @media (min-width: 769px) {
        .post-image img {
            width: 120px;
            height: 120px;
        }
    }

    Any chance you can remove that for now?

    Let me know 🙂

    #1225368
    Anil

    removed

    #1225386
    Leo
    Staff
    Customer Support

    So is the issue fixed? This is what I’m seeing now:
    https://www.screencast.com/t/f0Jo1p5hi

    #1225398
    Anil

    1. Earlier version was better because the way I wanted to have it was managed.

    2. On mobile phone, featured images are showing different sizes as per there upload size, looking not good…

    3. How to get cropped images as per size defined say 150×150 ?

    #1225437
    Leo
    Staff
    Customer Support

    Just to make sure, you are using GP Premium 1.10.0 beta 1?

    If so can you try the featured image sizing options in the customizer?

    It’s the main focus of this update and has been improved a lot.

    Take a look at the full explanation here:
    https://generatepress.com/gp-premium-1-10-0/

    #1225444
    Anil

    Yes, using GP Premium 1.10.0 beta 1.

    Set the featured image sizing options in the customizer – 150 x 150

    No benefit !!

    #1225475
    Tom
    Lead Developer
    Lead Developer

    Strange, what do you have set as your thumbnail size in “Settings > Media”? Is it set to crop?

    #1225796
    Anil

    “Settings > Media”?
    150
    150

    Is it set to crop?
    NO

    Can I have all featured images of same size on home page?

    #1225804
    Anil

    Dear Tom, I am sure you can help me….

    Another issue with featured image on single post:

    if the size of featured image (say 150×150) is smaller than page width, featured image is trying to fill page width…

    I found following css creating the problem

    .featured-image img {
        width: 728px;
    }

    I feel all this happening with last update…

    #1225818
    Tom
    Lead Developer
    Lead Developer

    Do you want thumbnails to be cropped? If so, you’ll want to check that “cropped” option in Settings > Media.

    Then you’ll need to regenerate your thumbnails: https://wordpress.org/plugins/regenerate-thumbnails/

    As for the single post, do you have the width set to 728px in Customize > Layout > Blog in the “Single” area of the featured image options?

    If you’d like, you can revert back to 1.9.1 and I can take a look at how things were before the update. It is a beta version, so I want to make sure things are working as intended.

    Let me know 🙂

    #1225821
    Anil

    Hi Tom

    1. “Regenerate thumbnails” solves the problem.

    2. I found 728px in Customize > Layout > Blog in the “Single”, and removed it and that solves this problem also.

    As I remember, I never added 728px in Customize > Layout > Blog in the “Single”, this seems to be auto-populated after update, please check that.

    For last 2 years, I got great solutions from you and David for my issues.

    Best regards.

    Dr. Anil Singhal MD

    #1226478
    Tom
    Lead Developer
    Lead Developer

    1. Were all of your images perfectly square before 1.10.0? Seems strange as cropping was turned off.

    2. The update doesn’t add/alter any existing values, it’s likely that the old resizer had this value but just wasn’t working.

    Glad we’ve been able to help! 🙂

Viewing 15 posts - 1 through 15 (of 22 total)
  • You must be logged in to reply to this topic.