=== LH Add Media From Url ===
Contributors:      shawfactor, ricardosimoes
Donate link: 	   https://lhero.org/portfolio/lh-add-media-from-url/
Tags:              post, attachment, media, download, bookmarklet, attachment, url, javascript, upload, images 
Requires at least: 5.0
Tested up to:      6.6
Stable tag: 	   trunk
License:           GPLv2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html

Upload files from an url to wordpress media library, either enter file urls in an onsite input box or click a bookmarklet.

== Description ==

This plugin allow you to grab image from remote url and save into your own word press media library. By doing so, you never worried if the remote image was removed by its owner. This also save you steps to download the image to local computer and upload again to your own WordPress. There is also a JavaScript bookmarklet that helps to automate the process if you are surfing the internet and find something you would like to add to the library

= Features =

* Automatically downloads and adds the file to the media library.
* After the uploading is successful, you are redirected to the edit screen
* Once the bookmarklet is installed you don't even need to copy and paste a url (just navigate to the url and select the bookmark).

**Like this plugin? Please consider [leaving a 5-star review](https://wordpress.org/support/view/plugin-reviews/lh-add-media-from-url/).**

**Love this plugin or want to help the LocalHero Project? Please consider [making a donation](https://lhero.org/portfolio/lh-add-media-from-url/).**

== Frequently Asked Questions ==

= What is something does not work?  =

LH Add Media From Url, and all [https://lhero.org](LocalHero) plugins are made to WordPress standards. Therefore they should work with all well coded plugins and themes. However not all plugins and themes are well coded (and this includes many popular ones). 

If something does not work properly, firstly deactivate ALL other plugins and switch to one of the themes that come with core, e.g. twentyfifteen, twentysixteen etc.

If the problem persists please leave a post in the support forum: [https://wordpress.org/support/plugin/lh-add-media-from-url/](https://wordpress.org/support/plugin/lh-add-media-from-url/). I look there regularly and resolve most queries.

= What if I need a feature that is not in the plugin?  =

Please contact me for custom work and enhancements here: [https://shawfactor.com/contact/](https://shawfactor.com/contact/)

== Installation ==

1. Upload the entire `lh-add-media-from-url` folder to the `/wp-content/plugins/` directory.
1. Activate the plugin through the 'Plugins' menu in WordPress.
1. Go to Media->Add from Url to add media via url or use the bookmarklet.

== Translation credits ==


== Changelog ==

**1.0 November 13, 2015**  
Initial release.

**1.05 March 10, 2016**  
Added documentation.

**1.06 March 11, 2016**  
More documentation.

**1.08 July 30, 2017**  
Rejigged upload handling.

**1.09 July 30, 2017**  
File type fixes

**1.10 July 30, 2017**  
Moved uploader to separate class

**1.11 August 03, 2017**  
Separate file

**1.12 August 05, 2017**  
latest copy file class

**1.13 September 13, 2017**  
translatable strings

**1.14 September 13, 2017**  
added language diectory

**1.15 October 08, 2017**  
Updated lh-copy-from-url-class.php

**1.20 March 05, 2021**  
Updated lh-copy-from-url-class.php again!

**1.21 April 08, 2021**  
Added a filter to wp remote get

**1.22 April 16, 2021**  
Bug Fix

**1.23 January 15, 2024**  
Bug Fix

**1.30 August 20, 2024**  
Minor security fix