Forums

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

  1. Webstudio Thom Hubers
    Member
    Posted 8 months 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)

Reply

You must log in to post.

About this Topic

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