I'm looking for a method to create an instance of
To elaborate: I am using the file uploader in a plugin to insert a file reference by ID. That ID is then used to create touch icons for the site
But I want to downsize the image to various sizes (57x57px, 72x72px, and 114x114px) on the fly. I don't however want to create a new image size for every attachment image, just this one instance.
wp_get_attachment_image_src($id, array(57, 57)) and
wp_get_attachment_image_src($id, array(72, 72)) return the same url.
add_image_size() in my function, return the images, and then unset the function?
Anyone have any thoughts?