Use this plugin instead of tiresome saving images from the internet and uploading them to your blog. You learn the value of this grabber e.g. when you need to move your old non-WordPress site with many pictures to the WordPress-based.
The plugin recognizes images by the presence (jpg|jpeg|gif|png) in URLs.
If you like this plugin please vote for it.
Please feel free to contact me with your questions or suggestions.
remote-images-grabberfolder to the plugins directory, usually
wp-content/plugins(or use the native wordpress plugin installation interface).
- Activate the plugin through the ‘Plugins’ menu in WordPress, then ‘Images Grabber’ link in the Mediafiles submenu and ‘Images Grabber’ tab in a post editor upload box appear.
- How can I grab images in case they are represented with relative path (no http: in SRC or HREF) in HTML?
Fill in the Base URL field. Sample: to grab http://example.com/some-dir/files/my-image.png which is described as <img src=”files/my-image.png” on http://example.com/some-dir/some-page.html you should add http://example.com/some-dir/ into the Base URL field.
- I enter an URL of a page that has pictures but the plugin grab nothing.
Look through HTML of that page, maybe it is a case described above.
- How to use the plugin?
- On the ‘Images Grabber’ page in your wordpress admin panel, specify the post ID where images should be attached to (if such post doesn’t exist, images stay unattached), paste the list of images URLs you wish to grab (separated by spaces or one link by line) or simply paste a piece of html-code, and push ‘Go!’ button. That’s all! Or, instead of the above, you may put into the next text field an URL of a web page that links to images.
- The 2nd way is to select ‘Images Grabber’ tab in an upload box, then grabbed images are being attached to the currently edited post automatically.
I recommend to use
[gallery]or other gallery shortcode in the post where you attach images, then they will appear in the post automatically.
The plugin has no options but one can specify some parameters before running grabber script: minimum and maximum file size, grab images from
<a href=html-tags or only URLs listed as plain text, and base URL for images presented as relative paths.
Contributors & Developers
“Remote Images Grabber” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- more changes in recognizing image URLs (thanks to Thomas who reported a bug);
- base URL field value is kept in cookies now and filled in automatically until you change it or close your browser.
- added: recognition of square brackets  in image URLs;
- added: autofill of base URL field.
- fixed: php notice when WP_DEBUG is on
- added: https requests replaced with http
- fixed bugs: ignoring image URLs containing “+” character and error on long urlencoded file names. Thanks for reports to Ibn Al Gnoub.
- now grabber works from a tab in the upload box and attaches grabbed files autamatically to the post you are editing;
- lower file size limit added (ignoring icons etc.);
- base URL for grabbing images from relative paths;
- some minor bugs corrected.
- Now the plugin can work not only with lists of URLs but with any piece of html-code (it’s useful when a html-page given by it’s address contains too many links to unnecessary images).
- Options to grab images from
<IMG src=(one or both) can be turned off.
- WPMU compatibility added (get_space_allowed and fileupload_maxk check). Tested on WPMU 2.8.6.
- Form action parameter and plugin textdomain corrected.
- Now can handle URL of pages linking to images.
- It’s simple but it works.