• Resolved realcater

    (@realcater)


    1. I replaced an image to an image with different aspect ratio (it was 150×150, now it’s 300x150px)
    2. In all older posts it’s displayed in full size.
    3. I faced a problem that even a picture has changed the aspect ration is the same and the browser fits 300x150px picture to fit in the old 150x150px size so the real size I get it 150x75px (see the page, image is “true_quote.png”)

    It’s solved if I manually edit the picture and press renew button, but I have many posts and want to do it automatically

    Question: is it a way to regenerate picture size in all posts after changing to a picture with a different aspect ration.

    Thank you!

    • This topic was modified 2 years, 11 months ago by realcater.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Gerard Blanco

    (@sixaxis)

    Hi @realcater,

    I’m not sure I am understanding the issue correctly, but from what I can see, the image is still 150×150: https://provereno.media/wp-content/uploads/2020/10/true_quote.png

    Can you please clarify what I am supposed to see?

    Thanks!

    Thread Starter realcater

    (@realcater)

    Sorry, I had already changed the picture to look good.
    Now I’ve reverted to the state it was when I wrote a post, pls look it up (it can be cached, so it’s better to open it in incongito mode for example.

    1. I had a picture 150×150
    2. The code looks like:
    <h3><img loading="lazy" class="aligncenter size-full wp-image-8417" src="https://provereno.media/wp-content/uploads/2021/12/test.png" alt="" width="150" height="150" /></h3>

    3. I changed a picture to the size 300×150
    4. The code stayed the same, so the picture 300×150 is fitted to the size 150×150 and has a real size: 150×75

    I need width="150" height="150" to be changed to width="300" height="150" somehow in all pages with this picture after I change it

    Plugin Support Gerard Blanco

    (@sixaxis)

    Hi @realcater,

    Thanks, now I understand the issue better.

    Our plugin only replaces the physical image file, and that’s done correctly, because the image has a size of 300×150. Any other piece of code (like the width or height parameters) is something the plugin does not touch, so I would recommend you to contact your theme provider; perhaps they’ll be able to help you.

    Have a good day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Regenerate old posts after replacing image with a diffirent aspect ratio’ is closed to new replies.