Z
Z
Zed2021-08-30 00:10:14
WordPress
Zed, 2021-08-30 00:10:14

How to remove copy of images of different sizes in wordpress?

When you upload a picture to a library on the server, you get many copies of this picture with different sizes. Perhaps this is done by some plugin, but I can not determine for sure.612bf7ad3a225222351678.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Zolin, 2021-08-30
@xZedx

By default, the following image sizes are registered in WordPress:

  • thumbnail - thumbnail (changes from the admin panel)
  • medium - medium size (changes from the admin panel)
  • medium_large - moderately large (since WP 4.4.)
  • large - large (changes from the admin panel)
  • 1536x1536 - 2x medium_large (with WP 5.3)
  • 2048x2048 - 2x large (with WP 5.3)

Additional sizes are registered using a function add_image_size()in your theme or plugin code
. You can remove a previously registered image size using a function. remove_image_size()
To physically regenerate a new set of file sizes, use the Regenerate Thumbnails plugin.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question