This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Hacklog Remote Image Autosave


This plugin can save remote images in the posts to local server automatically and
add it as an attachment to the post.

  • capabile with Hacklog Remote Attachment plugin and Watermark Reloaded plugin
  • admin_icon.png was modified from ‘s donwload icon


  • 与Hacklog Remote Attachment 插件兼容性良好 
  • 与Watermark Reloaded 插件兼容性良好 

自定义img标签图片提取正则(情景描述:有些网页的 img 的图片地址不是用src属性标注的,比如微信网页版用 data-src 来标注图片地址。)
感谢 @守心斋 提出建议。

1.随机数参数url形如http://xxxx.jpg?123。导致插件不能正常下载图片 (@walkskyer)
2.前台HTTP,HTTPS后台出现问题。无法正常显示插件页面。 (@Jakes)

1.自定义img标签图片提取正则 (@守心斋)
2.兼容SAE版WORDPRESS (@苏洋 )
3.自定义路径 (@mapleaf)

  • 2.1.0

  • 2.0.9

  • 修复:远程图片url没有文件名后缀时,自动添加后缀。这样在WP文章里单独点击图片文件链接时,可避免某些服务器把没有后缀的图片文件当二进制文件下载的问题。
  • 修复:Error:SyntaxError: Unexpected token {. Check your HTTP Server error log or PHP error log to see what happend. (thanks to @守心斋)
  • 修复: 远程服务器图片有空格到本地 LAMP 服务器显示不出来的问题 (thanks to @再袭面包屋)
  • 修复: Notice: Undefined offset: 1 in /PATH-TO-WP-ROOT-DIR/wp-includes/vars.php on line 31 (thanks to @YYK)

  • 2.0.0 版完全重写。相比于原来1.0.2版的插件,有非常大的改进。

  • 原来的插件是在文章更新时自动下载远程图片,如果图片非常多的话,这样容易导致执行超时或只有部分图片被下载了。
  • 这次的新版采用的是ajax异步请求的方式让多个文件同时下载。效率和易用性都得到很大改善。

Arbitrary section

if remote server is  unreachable OR remote server Set against hotlinking,then the image url will remain as what it is in the post.
also ,this plugin will not handel with the situation when the remote server returns 302 http status.
the ssl verify has been set to FALSE due to some reasons.



  1. Upload the whole hacklog-remote-image-autosave directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings==>Hacklog RIA to setup the options.


It still works

Unlike every other plugin that is supposed to do the same thing, this one works and works perfectly. So very happy I found it.

a magical tool !!

It’s a magical tool for getting images from remote server to local. It’s useful to collect articles with images.

Read all 6 reviews

Contributors & Developers

“Hacklog Remote Image Autosave” is open source software. The following people have contributed to this plugin.




  • fixed: now the plugin can handle urls like properly.


  • fixed: auto append filename extension when remote img url has no extension (like .png or .jpg)
  • fixed: Error:SyntaxError: Unexpected token {. Check your HTTP Server error log or PHP error log to see what happend. (thanks to @守心斋)
  • fixed: filename has %20 chars (thanks to 再袭面包屋)
  • fixed: Notice: Undefined offset: 1 in /PATH-TO-WP-ROOT-DIR/wp-includes/vars.php on line 31 (thanks to @YYK)


  • fixed: added support for WP 3.5 for the new TinyMCE.


  • modified: changed image preload from css to js.
  • removed some un-needed comments.


  • improved: DO NOT load plugin in front end.
  • fixed: changed to use the WP 3.0 version Roles and Capabilities permission value


  • improved: the method to check whether a link resource is a picture
  • fixed: the compatibility with Hacklog Remote Attachment plugin (resolved the dumplicated filename bug)


  • fixed: corrected the logic to check if a url is remote or not.


  • improved: get PHP execution timeout errors being caught.
  • improved: get HTTP server 500 Internal Server Error being caught.
  • improved: update the downloading status image.
  • improved: added notice message after all images has been downloaded.
  • added: thumbnails creating function.


  • improved: added https support(the ssl verify has been set to FALSE due to some reasons).
  • improved: added “Retry” button if the first time the downloading was failed.


  • fixed: libcurl “Operation timed out after 5008 milliseconds with 122371 out of 315645 bytes received” Error.
  • modified: shortened the time interval to auto click the “OK” button.
  • fixed: bug when POST data via jQuery with query string style data param the post content will be cutted strangely.


  • rewrtie the plugin at all.Now ,many bugs has been fixed.the plugin now works well.


  • fixed the bug when the hacklog remote attachment does not exists,the plugin will not save remote images.


  • improved the capability with Hacklog Remote Attachment plugin and Watermark Reloaded plugin.


  • released the first version.