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?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘inserting and scaling images using wp_insert_attachment’ is closed to new replies.