• Hello,

    Thank you so much for this plug-in. I have over 200k images on my site, which would be impossible to upload to my server, so this plug-in saved my site!

    Was just curious if there is a way to utilize the plugin from a php script.
    I have a script that adds artists to my website from discogs.com api, within that, I get image urls for the artist and want to ‘externally add’ them to my media library within the script. Do the values (url, height, width) have to be sent through post method for the plugin to work?
    I tried making an Iframe with the source being the url to results page.
    <iframe height=”200″ width=”800″ https://website.com/wp-admin/admin-post.php?emwi-urls=&#8221;.$dimage[‘uri’].”&width=”.$dimage[‘width’].”&height=”.$dimage[‘height’].”&submit=Add’>
    but that doesn’t seem to be working. Any other options?

    Thanks for any help!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Add images from backend php script?’ is closed to new replies.