inserting and scaling images using wp_insert_attachment
I’m currently trying to make a plug-in which downloads an image (based from an rss-feed) and insert this image into the media library.
I know the media library can rescale images to a few predefined views (thumbnail, medium, large, etc). Based on behavior I know it does not do this ‘on the fly’.
Does wordpress automagically create these image views when I insert the attachments using wp_insert_attachment or is there something more to it? If so, how can I create these views?
- The topic ‘inserting and scaling images using wp_insert_attachment’ is closed to new replies.