Incorrect image sizes after WordPress 6.7 update
Update 11/21/24: The image resizing issue has been fixed in WordPress 6.7.1. You are safe to update to this version!
WordPress 6.7 introduced a new automatic image resizing feature that is affecting how images appear on a large number of sites (see trac ticket). Please note that this issue is not specific to your theme. If you’ve noticed that your images are displaying smaller than they used to after updating, follow these steps to resolve the issue:
Option 1: Code Snippet
Adding this code snippet to your site will resolve how your images are displayed in WordPress 6.7.
- Click here and copy the code.
- Go to Appearance > Customize > Additional CSS.
- Paste the code at the top of your Additional CSS box, then click Publish to save.
If you don't see a difference after inserting the code, be sure to clear any plugin caches and/or server caches on your site.
Option 2: Downgrade WordPress
It's always a good idea to wait a few weeks before installing a major WordPress update. Major updates are indicated by a whole number (e.g. 6.7), and minor follow-up updates are marked by an additional number (e.g. 6.7.1). Issues that arise in a major update are often addressed in these subsequent minor updates. Given how widespread this issue is, we’re optimistic WordPress will release a patch soon.
If the image resizing issue is affecting your site and you’d prefer to wait for an official fix, you can temporarily downgrade to the previous version of WordPress. Here are instructions.