wp_insert_attachment
wp_generate_attachment_metadata
wp_update_attachment_metadata
I am uploading images to a WordPress site. I need to do the work they do without WordPress. When WordPress making different size of images, it does for a fixed sizes or different for every image? How can i do that in pure php? And them writing to postmeta table?
[Bump deleted - please don't do that here - see the forum guidelines - these are VOLUNTEER forums so help may not be as fast as you like]