I just added a new Wordpress thumbnail size using add_image_size
call, but now all the photos I already uploaded are not of the correct size. If I request them, all I get is the original image with width
and height
attributes correctly set.
How can I force the creation of that thumb, saving the data to the database as well, given an attachment ID?
Please note I want to do a simple admin operation or execute code from a theme file.