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

    (@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

    markusd112

    • This reply was modified 4 years, 1 month 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

    aaplmike

    (@aaplmike)

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

    Hi,
    Same here.
    Thank you very much for the fix !
    Sacha

    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 3 years, 4 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.