Plugin ads image to media library (Howto?) (1 post)

  1. Webstudio Thom Hubers
    Posted 4 years ago #

    Hi Folks,

    I'm writing a plugin which needs to add images to posts.

    I got the link of an external image, like http://example.com/image.jpg

    The question is: how do I add this to the media library without doing it myself? (There are 2000+ images, so I don't have the time to click them together)

    What I found already (and was not looking for):
    - how to do it manually (that's easy, huh)
    - how to retrieve an image from the library (I wish it was time for that, let's add 'm)

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by Webstudio Thom Hubers
  • This topic is not resolved
  • WordPress version: 3.2.1