{"id":16008,"date":"2011-12-12T13:23:19","date_gmt":"2011-12-12T13:23:19","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/hacklog-remote-image-autosave\/"},"modified":"2016-02-24T17:29:09","modified_gmt":"2016-02-24T17:29:09","slug":"hacklog-remote-image-autosave","status":"closed","type":"plugin","link":"https:\/\/ug.wordpress.org\/plugins\/hacklog-remote-image-autosave\/","author":8344435,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.0","stable_tag":"2.1.0","tested":"4.4.34","requires":"3.2.1","requires_php":"","requires_plugins":"","header_name":"Hacklog Remote Image Autosave","header_author":"\u8352\u91ce\u65e0\u706f","header_description":"","assets_banners_color":"","last_updated":"2016-02-24 17:29:09","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/ihacklog.com\/donate","header_plugin_uri":"http:\/\/ihacklog.com\/?p=5087","header_author_uri":"http:\/\/ihacklog.com","rating":4.4,"author_block_rating":0,"active_installs":400,"downloads":33267,"num_ratings":7,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"6"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0"],"block_files":[],"assets_screenshots":{"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1863163","resolution":"4","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1863163","resolution":"1","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1863163","resolution":"3","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1863163","resolution":"2","location":"plugin"}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[754,34133,163,14512],"plugin_category":[50],"plugin_contributors":[81087],"plugin_business_model":[],"class_list":["post-16008","plugin","type-plugin","status-closed","hentry","plugin_tags-auto","plugin_tags-autosave","plugin_tags-images","plugin_tags-remote","plugin_category-media","plugin_contributors-ihacklog","plugin_committers-ihacklog"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/hacklog-remote-image-autosave.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/hacklog-remote-image-autosave\/trunk\/screenshot-1.png?rev=1863163","caption":""},{"src":"https:\/\/ps.w.org\/hacklog-remote-image-autosave\/trunk\/screenshot-2.png?rev=1863163","caption":""},{"src":"https:\/\/ps.w.org\/hacklog-remote-image-autosave\/trunk\/screenshot-3.png?rev=1863163","caption":""},{"src":"https:\/\/ps.w.org\/hacklog-remote-image-autosave\/trunk\/screenshot-4.png?rev=1863163","caption":""}],"raw_content":"<!--section=description-->\n<p>This plugin can save remote images in the posts to local server automatically and \nadd it as an attachment to the post.<\/p>\n\n<ul>\n<li>capabile with Hacklog Remote Attachment plugin and Watermark Reloaded plugin<\/li>\n<li>admin_icon.png was modified from runescapeautotyper.com 's donwload icon <\/li>\n<\/ul>\n\n<p>\u6b64\u63d2\u4ef6\u7684\u4f5c\u7528\u662f\u81ea\u52a8\u4fdd\u5b58\u65e5\u5fd7\u4e2d\u7684\u8fdc\u7a0b\u56fe\u7247\u5230\u672c\u5730\u670d\u52a1\u5668\u5e76\u5c06\u4fdd\u5b58\u540e\u7684\u6587\u4ef6\u4f5c\u4e3a\u65e5\u5fd7\u7684\u9644\u4ef6\u3002<\/p>\n\n<ul>\n<li>\u4e0eHacklog Remote Attachment \u63d2\u4ef6\u517c\u5bb9\u6027\u826f\u597d\u3000<\/li>\n<li>\u4e0eWatermark Reloaded \u63d2\u4ef6\u517c\u5bb9\u6027\u826f\u597d\u3000<\/li>\n<\/ul>\n\n<p>@TODO\n\u81ea\u5b9a\u4e49img\u6807\u7b7e\u56fe\u7247\u63d0\u53d6\u6b63\u5219\uff08\u60c5\u666f\u63cf\u8ff0\uff1a\u6709\u4e9b\u7f51\u9875\u7684 img \u7684\u56fe\u7247\u5730\u5740\u4e0d\u662f\u7528src\u5c5e\u6027\u6807\u6ce8\u7684\uff0c\u6bd4\u5982\u5fae\u4fe1\u7f51\u9875\u7248\u7528 data-src \u6765\u6807\u6ce8\u56fe\u7247\u5730\u5740\u3002\uff09\n\u611f\u8c22 @\u5b88\u5fc3\u658b \u63d0\u51fa\u5efa\u8bae\u3002<\/p>\n\n<p>@\u5f85\u6d4b\u8bd5\n1.\u968f\u673a\u6570\u53c2\u6570url\u5f62\u5982http:\/\/xxxx.jpg?123\u3002\u5bfc\u81f4\u63d2\u4ef6\u4e0d\u80fd\u6b63\u5e38\u4e0b\u8f7d\u56fe\u7247 (@walkskyer)\n2.\u524d\u53f0HTTP\uff0cHTTPS\u540e\u53f0\u51fa\u73b0\u95ee\u9898\u3002\u65e0\u6cd5\u6b63\u5e38\u663e\u793a\u63d2\u4ef6\u9875\u9762\u3002 (@Jakes)<\/p>\n\n<p>@\u5f85\u5b9a\u529f\u80fd\n1.\u81ea\u5b9a\u4e49img\u6807\u7b7e\u56fe\u7247\u63d0\u53d6\u6b63\u5219 (@\u5b88\u5fc3\u658b)\n2.\u517c\u5bb9SAE\u7248WORDPRESS \uff08@\u82cf\u6d0b \uff09\n3.\u81ea\u5b9a\u4e49\u8def\u5f84 \uff08@mapleaf\uff09<\/p>\n\n<ul>\n<li><p>2.1.0\n\u4fee\u590d\uff1a\u4e0b\u8f7d\u7c7b\u4f3c\u4e8ehttp:\/\/mmbiz.qpic.cn\/mmbiz\/xxxxxx\/640?wx_fmt=jpeg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1\n\u8fd9\u79cdurl\u7684\u56fe\u7247\u7684\u65f6\u5019\uff0c\u5f53\u6587\u7ae0\u4e2d\u6709\u591a\u4e2a\u56fe\u7247\uff0c\u5e95\u90e8\uff08\u540e\u4e0b\u8f7d\u7684\uff09\u7684\u56fe\u7247\u4f1a\u5c06\u524d\u9762\u7684\u56fe\u7247\u8986\u76d6\u7684bug.<\/p><\/li>\n<li><p>2.0.9<\/p><\/li>\n<li>\u4fee\u590d\uff1a\u8fdc\u7a0b\u56fe\u7247url\u6ca1\u6709\u6587\u4ef6\u540d\u540e\u7f00\u65f6\uff0c\u81ea\u52a8\u6dfb\u52a0\u540e\u7f00\u3002\u8fd9\u6837\u5728WP\u6587\u7ae0\u91cc\u5355\u72ec\u70b9\u51fb\u56fe\u7247\u6587\u4ef6\u94fe\u63a5\u65f6\uff0c\u53ef\u907f\u514d\u67d0\u4e9b\u670d\u52a1\u5668\u628a\u6ca1\u6709\u540e\u7f00\u7684\u56fe\u7247\u6587\u4ef6\u5f53\u4e8c\u8fdb\u5236\u6587\u4ef6\u4e0b\u8f7d\u7684\u95ee\u9898\u3002<\/li>\n<li>\u4fee\u590d:Error:SyntaxError: Unexpected token {. Check your HTTP Server error log or PHP error log to see what happend. (thanks to @\u5b88\u5fc3\u658b)<\/li>\n<li>\u4fee\u590d: \u8fdc\u7a0b\u670d\u52a1\u5668\u56fe\u7247\u6709\u7a7a\u683c\u5230\u672c\u5730 LAMP \u670d\u52a1\u5668\u663e\u793a\u4e0d\u51fa\u6765\u7684\u95ee\u9898 (thanks to @\u518d\u88ad\u9762\u5305\u5c4b)<\/li>\n<li><p>\u4fee\u590d: Notice: Undefined offset: 1 in \/PATH-TO-WP-ROOT-DIR\/wp-includes\/vars.php on line 31 (thanks to @YYK)<\/p><\/li>\n<li><p>2.0.0 \u7248\u5b8c\u5168\u91cd\u5199\u3002\u76f8\u6bd4\u4e8e\u539f\u67651.0.2\u7248\u7684\u63d2\u4ef6\uff0c\u6709\u975e\u5e38\u5927\u7684\u6539\u8fdb\u3002<\/p><\/li>\n<li>\u539f\u6765\u7684\u63d2\u4ef6\u662f\u5728\u6587\u7ae0\u66f4\u65b0\u65f6\u81ea\u52a8\u4e0b\u8f7d\u8fdc\u7a0b\u56fe\u7247\uff0c\u5982\u679c\u56fe\u7247\u975e\u5e38\u591a\u7684\u8bdd\uff0c\u8fd9\u6837\u5bb9\u6613\u5bfc\u81f4\u6267\u884c\u8d85\u65f6\u6216\u53ea\u6709\u90e8\u5206\u56fe\u7247\u88ab\u4e0b\u8f7d\u4e86\u3002<\/li>\n<li>\u8fd9\u6b21\u7684\u65b0\u7248\u91c7\u7528\u7684\u662fajax\u5f02\u6b65\u8bf7\u6c42\u7684\u65b9\u5f0f\u8ba9\u591a\u4e2a\u6587\u4ef6\u540c\u65f6\u4e0b\u8f7d\u3002\u6548\u7387\u548c\u6613\u7528\u6027\u90fd\u5f97\u5230\u5f88\u5927\u6539\u5584\u3002<\/li>\n<\/ul>\n\n<h3>Arbitrary section<\/h3>\n\n<pre><code>if remote server is\u3000 unreachable OR remote server Set against hotlinking\uff0cthen the image url will remain as what it is in the post.\nalso ,this plugin will not handel with the situation when the remote server returns 302 http status.\nthe ssl verify has been set to FALSE due to some reasons.\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the whole <code>hacklog-remote-image-autosave<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to <code>Settings<\/code>==&gt;<code>Hacklog RIA<\/code> to setup the options.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>fixed: now the plugin can handle urls like http:\/\/mmbiz.qpic.cn\/mmbiz\/xxxxxx\/640?wx_fmt=jpeg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1 properly.<\/li>\n<\/ul>\n\n<h4>2.0.9<\/h4>\n\n<ul>\n<li>fixed: auto append filename extension when remote img url has no extension (like .png or .jpg)<\/li>\n<li>fixed: Error:SyntaxError: Unexpected token {. Check your HTTP Server error log or PHP error log to see what happend. (thanks to @\u5b88\u5fc3\u658b)<\/li>\n<li>fixed: filename has %20 chars (thanks to \u518d\u88ad\u9762\u5305\u5c4b)<\/li>\n<li>fixed: Notice: Undefined offset: 1 in \/PATH-TO-WP-ROOT-DIR\/wp-includes\/vars.php on line 31 (thanks to @YYK)<\/li>\n<\/ul>\n\n<h4>2.0.8<\/h4>\n\n<ul>\n<li>fixed: added support for WP 3.5 for the new TinyMCE.<\/li>\n<\/ul>\n\n<h4>2.0.7<\/h4>\n\n<ul>\n<li>modified: changed image preload from css to js.<\/li>\n<li>removed some un-needed comments.<\/li>\n<\/ul>\n\n<h4>2.0.6<\/h4>\n\n<ul>\n<li>improved: DO NOT load plugin in front end.<\/li>\n<li>fixed: changed to use the WP 3.0 version Roles and Capabilities permission value<\/li>\n<\/ul>\n\n<h4>2.0.5<\/h4>\n\n<ul>\n<li>improved: the method to check whether a link resource is a picture<\/li>\n<li>fixed: the compatibility with Hacklog Remote Attachment plugin (resolved the dumplicated filename bug)<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>fixed: corrected the logic to check if a url is remote or not.<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>improved: get PHP execution timeout errors being caught.<\/li>\n<li>improved: get HTTP server 500 Internal Server Error being caught.<\/li>\n<li>improved: update the downloading status image.<\/li>\n<li>improved: added notice message after all images has been downloaded.<\/li>\n<li>added: thumbnails creating function. <\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>improved: added https support(the ssl verify has been set to FALSE due to some reasons).<\/li>\n<li>improved: added \"Retry\" button if the first time the downloading was failed.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>fixed: libcurl \"Operation timed out after 5008 milliseconds with 122371 out of 315645 bytes received\" Error.<\/li>\n<li>modified: shortened the time interval to auto click the \"OK\" button.<\/li>\n<li>fixed: bug when POST data via jQuery with query string style data param the post content will be cutted strangely.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>rewrtie the plugin at all.Now ,many bugs has been fixed.the plugin now works well.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>fixed the bug when the hacklog remote attachment does not exists,the plugin will not save remote images.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>improved the capability with Hacklog Remote Attachment plugin and Watermark Reloaded plugin.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>released the first version.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the whole <code>hacklog-remote-image-autosave<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to <code>Settings<\/code>==&gt;<code>Hacklog RIA<\/code> to setup the options.<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"save remote images in the posts to local server and add it as an attachment to the post.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/16008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=16008"}],"author":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ihacklog"}],"wp:attachment":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=16008"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=16008"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=16008"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=16008"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=16008"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=16008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}