• Hi,
    we are using the Twentyten theme for our website. I have upgraded our WordPress installation to version 5.5 yesterday and after the upgrade several images are displayed with a curios aspect ratio (the height is stretched…).

    So I am not sure, if there is any incompatibility of the theme with the new WordPress version?

    Do you have any idea, how to fix this display issue?



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

Viewing 7 replies - 1 through 7 (of 7 total)
  • I submitted a bug for this here https://core.trac.wordpress.org/ticket/50909

    I tried to make a detailed answer here for how to sort of fix it for most cases https://core.trac.wordpress.org/ticket/50909#comment:14

    Thread Starter markusd112


    Thanks a lot. Adding the following additional CSS in the Themes Customizer seems to fix the problem for the moment:

    img {
      max-width: 100%;
      height: auto;

    So as I understand the explanations in the bug report, all themes have to fix this issue in their CSS? Is there any bug reporting system for the twentyten theme to initiate this? Or will it be fixed with bug report #50909?

    Thanks a lot


    • This reply was modified 3 years, 8 months ago by markusd112.

    This shouldn’t be regarded as a real fix because it prevents all height attributes on images being used, but it will fix the majority of problems. It’s not a bug that image height attributes affect the height of an image.

    Had same problem on my website just now.
    Theme – photozoom
    WP Version 5.5
    Added the code you posted, fixed the problem.
    Thank you

    I have this problem too. Adding the custom CSS fixed the issue for now. I’m using Safari 13.1.2.

    Same here.
    Thank you very much for the fix !

    I have the same problem here, and markusd112’s fix works.

    Also, the PHP Compatibility Checker plug in seems to be incompatible with Twenty Ten, with the latest WordPress versions; it causes the .htaccess file to be changed in a way that breaks sites…

    Will Twenty Ten perhaps be updated to be more compatible going forward?

    • This reply was modified 2 years, 10 months ago by equilter. Reason: Added information
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problems with images after upgrade to WordPress 5.5’ is closed to new replies.