WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Webstudio Thom Hubers
    Member
    Posted 2 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 2 years ago by Webstudio Thom Hubers
  • This topic is not resolved
  • WordPress version: 3.2.1