Stopping WordPress from generating different image sizes without a plugin

When you upload an image, WordPress automatically generates three images of varying sizes. This article explains how to prevent WordPress from generating different image sizes from the WordPress dashboard.

When you upload an image, WordPress automatically generates three images of varying sizes. If you use compression techniques for your images, generating multiple sizes becomes pointless and reduces the amount of storage available for other assets. There is a simple way to avoid this situation that does not require the use of a plugin.

This article explains how to prevent WordPress from generating different image sizes from the WordPress dashboard. No plugin is required.

Preventing WordPress from generating different image sizes

To prevent WordPress from generating different image sizes after uploading, follow these steps:

  1. Log into WordPress with the Administrator account.

  2. On the Dashboard in the left sidebar, click Settings, and then click Media:
    WordPress media settings

  3. In the Media Settings section, set the width and height to 0 (zero) for the following sizes:

    • Thumbnail Size

    • Medium Size

    • Large SizeWordPress media image size setting

  4. Click Save Changes.

More Information

For more information about the Media Library, please visit: https://wordpress.org/support/article/media-library-screen/

Related Articles