Support » Theme: Twenty Ten » Problems with images after upgrade to WordPress 5.5

  • 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?

    Thanks,

    markusd112

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

Viewing 5 replies - 1 through 5 (of 5 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

    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

    markusd112

    • This reply was modified 2 months, 1 week 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.

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