Use custom image size in admin panel

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?

Topic media-modal media-library uploads Wordpress

Category Web


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.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.