WordPress adding dimensions to image URLS randomly?

[ad_1]

Hello,

When we add some images to our website, image dimensions are being amended to the end of the URL. When this happens, the image doesn’t show up because it does not match the URL.

Example: Here is the second half of the URL we loaded
/wp-content/uploads/2022/01/image-Home-Page-Sceenshot.jpg

Here is what it is getting changed to:
/wp-content/uploads/2022/01/image-Home-Page-Sceenshot-1024×909.jpg

Anyone ever experience this/know how to fix it?

[ad_2]
2 Comments
  1. WordPress automatically attempts to take uploaded images and crops/resizes them based on theme & plugin settings. The generated files have the dimensions appended to the filename.

  2. That’s normal. WordPress generates a range of image sizes to fit where they might be displayed (thumbnails for example). The URL should still work though, are you copying it from the media library entry?
    There’s also another feature that resizes large images (over 2560 px I think) and adds a ‘scaled’ suffix. Not sure if this replaces the original image, but that might explain the issues you’re seeing.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer