• Resolved ditchmonkey

    (@ditchmonkey)


    After updating to 6.7, the image resolution setting (image block) no longer works the way it did before. Previously choosing a selection like Large would insert a resized version of the image that is lower resolution. Now all it does is scale the full size image regardless of the setting you choose. Is this a bug? I also updated Generatepress at the same time, could that be the culprit?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter ditchmonkey

    (@ditchmonkey)

    I realized that this issue only occurs when the image is linked to something.

    ravindra107

    (@ravindra107)

    Hey @ditchmonkey,
    I think you are facing the css issue. I give you example code.
    You can change the parent class or inherit class as per your code. .wp-caption
    Some of users facing image issue after updating the WordPress.

    .wp-caption img{
    width : 100% !important;
    }

    Thanks

    Thread Starter ditchmonkey

    (@ditchmonkey)

    This is not a css issue. This is related to the multiple copies of an image that WordPress creates upon upload. For reference:

    https://www.hostinger.com/tutorials/wordpress-images-sizes

    For example, if I upload an image 2500 pixels wide, then select “large” as the image resolution in the image block, it should show the version of the image with a file name like Goodsrpings_NV_Anchor_mine_01-1024×680.jpg that has a max width of 1024 pixels.

    However, in most cases it is just showing the original high-resolution file on the front end (even when the correct image is displayed in the editor). What I said about this being a problem with the linked image seems not to be true, it happens under a range of circumstances that I can’t find a pattern to. I have also confirmed that it is not a theme issue and I have tested it on three different WP versions and all had the problem.

    Thread Starter ditchmonkey

    (@ditchmonkey)

    Update: this is related to srcset. It seems that srcset overrides any settings you choose for image resolution so I’m not sure what the point of having image resolution settings is. I wish there was some guide that describes how srcset works in detail.

    I have a similar issue. But the resolution setting for the image block doesn’t even appear for me any more:

    https://wordpress.com/support/wordpress-editor/blocks/image-block/#resolution

    I have this issue too – insert image, select ‘Medium’ resolution, WordPress ignores this and outputs the full size image in the src attribute, with the medium-sized version referenced as one of the options in the srcset. I just want the medium one to display – really frustrating.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.