[Plugin: Import Legacy Media] How to import image to media gallery via plugin (2 posts)

  1. leftycz
    Posted 5 years ago #


    I need to create an image in media library from given url and I haven't found any function in wp code. I also noticed the fact, that the library is rarely used in plugins ... So is it ever possible?


  2. gworks
    Posted 5 years ago #

    In WP, you don't create an image from a URL. You can include the image in your post by entering a URL in the media panel. Now if you want to include it in your Media library, first you need to download that image to your computer and then upload it to the image library.


    [Signature Moderated] As per the forum rules.

Topic Closed

This topic has been closed to new replies.

About this Topic