I have add some image size like:

add_image_size( 'custom-small', 600, 600 );
add_image_size( 'custom-medium', 1280, 1280 );
add_image_size( 'custom-large', 2560, 2560 );

and I have removed all the default sizes. Now the Media Library in the Admin panel is loading full image instead of medium. Is it possible to specify a custom size to use?

  • 1
    Wouldn't it make more sense to change the default image sizes rather than remove them and add new ones with custom names? The media library uses the thumbnail rather than the medium to show thumbnails and thumbnails image size can be changed using the media settings
    – Tom J Nowell
    Apr 27, 2022 at 16:55

1 Answer 1


Image sizes are hard-coded throughout WordPress core; Tom's comment to adjust the dimensions of the built-in image sizes is the best approach.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.