I am currently wondering what is the best way to let the user choose between a certain number of thumbnail size for the shortcodes I am building.
add_image_size function is the simplest way but adding 10 size of thumbnail to the theme will create a enormous number of unneeded thumbnails.
I really want to avoid this, is there any good way to do this?