Auto-generated thumbnails

When you upload an image to your WordPress website, the platform creates 4 additional image sizes alongside your original image.

Those automatically generated sizes are:

  • Thumbnail (‘thumbnail’): image with a maximum width of 150px and a maximum height of 150px
  • Medium (‘medium’): image with a maximum width of 300px or a maximum height of 300px
  • Medium-large (‘medium_large’): since wordpress 4.4,  image with a width of 768px and no max height
  • Large (‘large’): image with a maximum width of 1024px or a maximum height of 1024px

These sizes can be changed inside the media settings page (/wp-admin/options-media.php), and you can also add custom sizes:

Copy to Clipboard

Automatic image-size filters

WordPress detects big images (big in their dimensions) which you uploaded and scales them down if their dimensions are larger than the threshold (e.g. 2560px threshold).

The default width threshold can be overridden with max_srcset_image_width() function.

The default dimensions threshold is filterable with big_image_size_threshold filter, and you can even disable it with:

Copy to Clipboard

Overriding image sizes

Based on the breakpoints of your theme you can choose to customize the sizes attribute of the adaptive image tag. You can do that for the content images and for thumbnail sizes too:

Copy to Clipboard
Copy to Clipboard