_wp_add_additional_image_sizes ( No parameters )

  • private
Defined at:


Add additional default image sub-sizes.

These sizes are meant to enhance the way WordPress displays images on the front-end on larger, high-density devices. They make it possible to generate more suitable srcset and sizes attributes when the users upload large images.

The sizes can be changed or removed by themes and plugins but that is not recommended. The size "names" reflect the image dimensions, so changing the sizes would be quite misleading.

Related Functions

wp_get_additional_image_sizes, wp_update_image_subsizes, add_image_size, wp_get_attachment_image_sizes, wp_calculate_image_sizes

Top Google Results

User discussions

wpseek mobile