Version Description
Download this release
Release Info
Developer | qqworld |
Plugin | QQWorld Auto Save Images |
Version | 1.7.15.3 |
Comparing to | |
See all releases |
Code changes from version 1.7.15.2 to 1.7.15.3
lang/qqworld_auto_save_images-zh_CN.mo
CHANGED
Binary file
|
lang/qqworld_auto_save_images-zh_CN.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: QQworld Auto Save Images\n"
|
4 |
"Report-Msgid-Bugs-To: http://www.qqworld.org\n"
|
5 |
-
"POT-Creation-Date: 2015-08
|
6 |
-
"PO-Revision-Date: 2015-08
|
7 |
"Last-Translator: Michael Wang <admin@qqworld.org>\n"
|
8 |
"Language-Team: QQWorld <admin@qqworld.org>\n"
|
9 |
"Language: zh_CN\n"
|
@@ -52,7 +52,7 @@ msgid "No taxonomies found."
|
|
52 |
msgstr "没有相关分类方法。"
|
53 |
|
54 |
#: qqworld-auto-save-images.php:151 qqworld-auto-save-images.php:319
|
55 |
-
#: qqworld-auto-save-images.php:
|
56 |
msgid "All remote images have been saved."
|
57 |
msgstr "已保存所有远程图像。"
|
58 |
|
@@ -771,83 +771,104 @@ msgstr "支持多线程的手动模式(比自动模式更快,且可以即时
|
|
771 |
|
772 |
#: qqworld-auto-save-images.php:870
|
773 |
msgid ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
774 |
"Detecting replicated images in media library by Original-link and CRC (Only "
|
775 |
"for new images that after v1.1 updated)."
|
776 |
msgstr "在数据库中通过原链接和CRC检测重复图像(仅用于更新1.1版之后下载的图像)"
|
777 |
|
778 |
-
#: qqworld-auto-save-images.php:
|
779 |
msgid "Automatically delete images code smaller than minimum-picture-size."
|
780 |
msgstr "自动删除小于最小图像尺寸的图片代码。"
|
781 |
|
782 |
-
#: qqworld-auto-save-images.php:
|
783 |
msgid "Automatically exclude specified remote images by CRC."
|
784 |
msgstr "可以自动通过检验图像文件CRC忽略指定的远程图像。"
|
785 |
|
786 |
-
#: qqworld-auto-save-images.php:
|
787 |
msgid "Automatically delete html code of specified remote images by CRC."
|
788 |
msgstr "可以自动通过检验图像文件CRC删除指定的远程图像HTML代码。"
|
789 |
|
790 |
-
#: qqworld-auto-save-images.php:
|
791 |
msgid "Download Images from WeChat"
|
792 |
msgstr "下载微信图片"
|
793 |
|
794 |
-
#: qqworld-auto-save-images.php:
|
795 |
msgid "Cron Scan Posts"
|
796 |
msgstr "定时扫描文章"
|
797 |
|
798 |
-
#: qqworld-auto-save-images.php:
|
799 |
msgid "Watermark"
|
800 |
msgstr "水印"
|
801 |
|
802 |
-
#: qqworld-auto-save-images.php:
|
803 |
msgid "Images Compression (JPG Only)"
|
804 |
msgstr "图片压缩(仅JPEG)"
|
805 |
|
806 |
-
#: qqworld-auto-save-images.php:
|
807 |
msgid "Use Proxy"
|
808 |
msgstr "使用代理服务器(可下载需要翻墙的图片)"
|
809 |
|
810 |
-
#: qqworld-auto-save-images.php:
|
811 |
msgid ""
|
812 |
"Smart Grabbing, Automatically detect 2 images url from href/src of remote "
|
813 |
"image with outside link, and grab the bigger one."
|
814 |
msgstr "智能抓取(从图片src和链接href中提取图片地址,并抓取较大的一个)"
|
815 |
|
816 |
-
#: qqworld-auto-save-images.php:
|
817 |
msgid "Use Cookie-Free Domain & CDN Servive (AliYun OSS, UpYun, QiNiu)"
|
818 |
msgstr "使用Cookie-Free域名和CDN服务(阿里云OSS、七牛云存储、又拍云存储等)"
|
819 |
|
820 |
-
#: qqworld-auto-save-images.php:
|
|
|
|
|
|
|
|
|
821 |
msgid ""
|
822 |
"Collect webpage manually: Easy reprint articles, and get all the images to "
|
823 |
"choose from web pages."
|
824 |
msgstr "手动采集功能:轻松转载文章、从网页中获取所有图片供选择"
|
825 |
|
826 |
-
#: qqworld-auto-save-images.php:
|
827 |
msgid "Buy"
|
828 |
msgstr "购买"
|
829 |
|
830 |
-
#: qqworld-auto-save-images.php:
|
831 |
msgid "QQWorld Collector"
|
832 |
msgstr "QQWorld收藏家"
|
833 |
|
834 |
-
#: qqworld-auto-save-images.php:
|
835 |
msgid ""
|
836 |
"(No need understand chinese, there is a language switcher on left sidebar.)"
|
837 |
msgstr " "
|
838 |
|
839 |
-
#: qqworld-auto-save-images.php:
|
840 |
msgid "Has Missing/Undownloadable images."
|
841 |
msgstr "有 不存在/不可下载 的远程图像。"
|
842 |
|
843 |
-
#: qqworld-auto-save-images.php:
|
844 |
msgid "No remote images found."
|
845 |
msgstr "没有远程图像。"
|
846 |
|
847 |
-
#: qqworld-auto-save-images.php:
|
848 |
msgid "Original Link"
|
849 |
msgstr "原始链接"
|
850 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
851 |
#~ msgid ""
|
852 |
#~ "If the remote image had downloaded before, wouldn't download again and "
|
853 |
#~ "just load the attachment which already saved."
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: QQworld Auto Save Images\n"
|
4 |
"Report-Msgid-Bugs-To: http://www.qqworld.org\n"
|
5 |
+
"POT-Creation-Date: 2015-09-08 09:07+0800\n"
|
6 |
+
"PO-Revision-Date: 2015-09-08 09:08+0800\n"
|
7 |
"Last-Translator: Michael Wang <admin@qqworld.org>\n"
|
8 |
"Language-Team: QQWorld <admin@qqworld.org>\n"
|
9 |
"Language: zh_CN\n"
|
52 |
msgstr "没有相关分类方法。"
|
53 |
|
54 |
#: qqworld-auto-save-images.php:151 qqworld-auto-save-images.php:319
|
55 |
+
#: qqworld-auto-save-images.php:1050
|
56 |
msgid "All remote images have been saved."
|
57 |
msgstr "已保存所有远程图像。"
|
58 |
|
771 |
|
772 |
#: qqworld-auto-save-images.php:870
|
773 |
msgid ""
|
774 |
+
"New Mode: Remote images will no be saved into media library, it means would "
|
775 |
+
"not generate thumbnail. but if you checked Set-Featured-Image, the first "
|
776 |
+
"remote image will be saved into media library."
|
777 |
+
msgstr ""
|
778 |
+
"新模式:远程图像不会被保存到媒体库,这意味着不会生成各种尺寸的缩略图。但如果"
|
779 |
+
"你勾选了设置特色图片,则只会将第一幅远程图像保存到媒体库。"
|
780 |
+
|
781 |
+
#: qqworld-auto-save-images.php:875
|
782 |
+
msgid ""
|
783 |
"Detecting replicated images in media library by Original-link and CRC (Only "
|
784 |
"for new images that after v1.1 updated)."
|
785 |
msgstr "在数据库中通过原链接和CRC检测重复图像(仅用于更新1.1版之后下载的图像)"
|
786 |
|
787 |
+
#: qqworld-auto-save-images.php:880
|
788 |
msgid "Automatically delete images code smaller than minimum-picture-size."
|
789 |
msgstr "自动删除小于最小图像尺寸的图片代码。"
|
790 |
|
791 |
+
#: qqworld-auto-save-images.php:885
|
792 |
msgid "Automatically exclude specified remote images by CRC."
|
793 |
msgstr "可以自动通过检验图像文件CRC忽略指定的远程图像。"
|
794 |
|
795 |
+
#: qqworld-auto-save-images.php:890
|
796 |
msgid "Automatically delete html code of specified remote images by CRC."
|
797 |
msgstr "可以自动通过检验图像文件CRC删除指定的远程图像HTML代码。"
|
798 |
|
799 |
+
#: qqworld-auto-save-images.php:895
|
800 |
msgid "Download Images from WeChat"
|
801 |
msgstr "下载微信图片"
|
802 |
|
803 |
+
#: qqworld-auto-save-images.php:900
|
804 |
msgid "Cron Scan Posts"
|
805 |
msgstr "定时扫描文章"
|
806 |
|
807 |
+
#: qqworld-auto-save-images.php:905
|
808 |
msgid "Watermark"
|
809 |
msgstr "水印"
|
810 |
|
811 |
+
#: qqworld-auto-save-images.php:910
|
812 |
msgid "Images Compression (JPG Only)"
|
813 |
msgstr "图片压缩(仅JPEG)"
|
814 |
|
815 |
+
#: qqworld-auto-save-images.php:915
|
816 |
msgid "Use Proxy"
|
817 |
msgstr "使用代理服务器(可下载需要翻墙的图片)"
|
818 |
|
819 |
+
#: qqworld-auto-save-images.php:920
|
820 |
msgid ""
|
821 |
"Smart Grabbing, Automatically detect 2 images url from href/src of remote "
|
822 |
"image with outside link, and grab the bigger one."
|
823 |
msgstr "智能抓取(从图片src和链接href中提取图片地址,并抓取较大的一个)"
|
824 |
|
825 |
+
#: qqworld-auto-save-images.php:925
|
826 |
msgid "Use Cookie-Free Domain & CDN Servive (AliYun OSS, UpYun, QiNiu)"
|
827 |
msgstr "使用Cookie-Free域名和CDN服务(阿里云OSS、七牛云存储、又拍云存储等)"
|
828 |
|
829 |
+
#: qqworld-auto-save-images.php:930
|
830 |
+
msgid "Support automatically convert BMP to JPG."
|
831 |
+
msgstr "支持自动将 BMP 转换为 JPG。"
|
832 |
+
|
833 |
+
#: qqworld-auto-save-images.php:935
|
834 |
msgid ""
|
835 |
"Collect webpage manually: Easy reprint articles, and get all the images to "
|
836 |
"choose from web pages."
|
837 |
msgstr "手动采集功能:轻松转载文章、从网页中获取所有图片供选择"
|
838 |
|
839 |
+
#: qqworld-auto-save-images.php:945
|
840 |
msgid "Buy"
|
841 |
msgstr "购买"
|
842 |
|
843 |
+
#: qqworld-auto-save-images.php:946
|
844 |
msgid "QQWorld Collector"
|
845 |
msgstr "QQWorld收藏家"
|
846 |
|
847 |
+
#: qqworld-auto-save-images.php:947
|
848 |
msgid ""
|
849 |
"(No need understand chinese, there is a language switcher on left sidebar.)"
|
850 |
msgstr " "
|
851 |
|
852 |
+
#: qqworld-auto-save-images.php:1047
|
853 |
msgid "Has Missing/Undownloadable images."
|
854 |
msgstr "有 不存在/不可下载 的远程图像。"
|
855 |
|
856 |
+
#: qqworld-auto-save-images.php:1054
|
857 |
msgid "No remote images found."
|
858 |
msgstr "没有远程图像。"
|
859 |
|
860 |
+
#: qqworld-auto-save-images.php:1241
|
861 |
msgid "Original Link"
|
862 |
msgstr "原始链接"
|
863 |
|
864 |
+
#~ msgid ""
|
865 |
+
#~ "Remote images will no be saved into media library, it means would not "
|
866 |
+
#~ "generate thumbnail. but if you checked Set-Featured-Image, the first "
|
867 |
+
#~ "remote image will be saved into media library."
|
868 |
+
#~ msgstr ""
|
869 |
+
#~ "远程图像不会被保存到媒体库,这意味着不会生成各种尺寸的缩略图。但如果你勾选"
|
870 |
+
#~ "了设置特色图片,则只会将第一幅远程图像保存到媒体库。"
|
871 |
+
|
872 |
#~ msgid ""
|
873 |
#~ "If the remote image had downloaded before, wouldn't download again and "
|
874 |
#~ "just load the attachment which already saved."
|
lang/qqworld_auto_save_images-zh_TW.mo
CHANGED
Binary file
|
lang/qqworld_auto_save_images-zh_TW.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: QQworld Auto Save Images\n"
|
4 |
"Report-Msgid-Bugs-To: http://www.qqworld.org\n"
|
5 |
-
"POT-Creation-Date: 2015-08
|
6 |
-
"PO-Revision-Date: 2015-08
|
7 |
"Last-Translator: Michael Wang <admin@qqworld.org>\n"
|
8 |
"Language-Team: QQWorld <admin@qqworld.org>\n"
|
9 |
"Language: zh_CN\n"
|
@@ -52,7 +52,7 @@ msgid "No taxonomies found."
|
|
52 |
msgstr "沒有相關分類方法。"
|
53 |
|
54 |
#: qqworld-auto-save-images.php:151 qqworld-auto-save-images.php:319
|
55 |
-
#: qqworld-auto-save-images.php:
|
56 |
msgid "All remote images have been saved."
|
57 |
msgstr "已保存所有遠程圖像。"
|
58 |
|
@@ -771,83 +771,104 @@ msgstr "支持多線程的手動模式(比自動模式更快,且可以即時
|
|
771 |
|
772 |
#: qqworld-auto-save-images.php:870
|
773 |
msgid ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
774 |
"Detecting replicated images in media library by Original-link and CRC (Only "
|
775 |
"for new images that after v1.1 updated)."
|
776 |
msgstr "在數據庫中通過原鏈接和CRC檢測重複圖像(僅用于更新1.1版之後下載的圖像)"
|
777 |
|
778 |
-
#: qqworld-auto-save-images.php:
|
779 |
msgid "Automatically delete images code smaller than minimum-picture-size."
|
780 |
msgstr "自動刪除小于最小圖像尺寸的圖片代碼。"
|
781 |
|
782 |
-
#: qqworld-auto-save-images.php:
|
783 |
msgid "Automatically exclude specified remote images by CRC."
|
784 |
msgstr "可以自動通過檢驗圖像文件CRC忽略指定的遠程圖像。"
|
785 |
|
786 |
-
#: qqworld-auto-save-images.php:
|
787 |
msgid "Automatically delete html code of specified remote images by CRC."
|
788 |
msgstr "可以自動通過檢驗圖像文件CRC刪除指定的遠程圖像HTML代碼。"
|
789 |
|
790 |
-
#: qqworld-auto-save-images.php:
|
791 |
msgid "Download Images from WeChat"
|
792 |
msgstr "下載微信圖片"
|
793 |
|
794 |
-
#: qqworld-auto-save-images.php:
|
795 |
msgid "Cron Scan Posts"
|
796 |
msgstr "定時掃描文章"
|
797 |
|
798 |
-
#: qqworld-auto-save-images.php:
|
799 |
msgid "Watermark"
|
800 |
msgstr "水印"
|
801 |
|
802 |
-
#: qqworld-auto-save-images.php:
|
803 |
msgid "Images Compression (JPG Only)"
|
804 |
msgstr "圖片壓縮(僅JPEG)"
|
805 |
|
806 |
-
#: qqworld-auto-save-images.php:
|
807 |
msgid "Use Proxy"
|
808 |
msgstr "使用代理服務器(可下載需要翻牆的圖片)"
|
809 |
|
810 |
-
#: qqworld-auto-save-images.php:
|
811 |
msgid ""
|
812 |
"Smart Grabbing, Automatically detect 2 images url from href/src of remote "
|
813 |
"image with outside link, and grab the bigger one."
|
814 |
msgstr "智能抓取(從圖片src和鏈接href中提取圖片地址,並抓取較大的一個)"
|
815 |
|
816 |
-
#: qqworld-auto-save-images.php:
|
817 |
msgid "Use Cookie-Free Domain & CDN Servive (AliYun OSS, UpYun, QiNiu)"
|
818 |
msgstr "使用Cookie-Free域名和CDN服務(阿裏雲OSS、七牛雲存儲、又拍雲存儲等)"
|
819 |
|
820 |
-
#: qqworld-auto-save-images.php:
|
|
|
|
|
|
|
|
|
821 |
msgid ""
|
822 |
"Collect webpage manually: Easy reprint articles, and get all the images to "
|
823 |
"choose from web pages."
|
824 |
msgstr "手動采集功能:輕松轉載文章、從網頁中獲取所有圖片供選擇"
|
825 |
|
826 |
-
#: qqworld-auto-save-images.php:
|
827 |
msgid "Buy"
|
828 |
msgstr "購買"
|
829 |
|
830 |
-
#: qqworld-auto-save-images.php:
|
831 |
msgid "QQWorld Collector"
|
832 |
msgstr "QQWorld收藏家"
|
833 |
|
834 |
-
#: qqworld-auto-save-images.php:
|
835 |
msgid ""
|
836 |
"(No need understand chinese, there is a language switcher on left sidebar.)"
|
837 |
msgstr " "
|
838 |
|
839 |
-
#: qqworld-auto-save-images.php:
|
840 |
msgid "Has Missing/Undownloadable images."
|
841 |
msgstr "有 不存在/不可下載 的遠程圖像。"
|
842 |
|
843 |
-
#: qqworld-auto-save-images.php:
|
844 |
msgid "No remote images found."
|
845 |
msgstr "沒有遠程圖像。"
|
846 |
|
847 |
-
#: qqworld-auto-save-images.php:
|
848 |
msgid "Original Link"
|
849 |
msgstr "原始鏈接"
|
850 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
851 |
#~ msgid ""
|
852 |
#~ "If the remote image had downloaded before, wouldn't download again and "
|
853 |
#~ "just load the attachment which already saved."
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: QQworld Auto Save Images\n"
|
4 |
"Report-Msgid-Bugs-To: http://www.qqworld.org\n"
|
5 |
+
"POT-Creation-Date: 2015-09-08 09:07+0800\n"
|
6 |
+
"PO-Revision-Date: 2015-09-08 09:08+0800\n"
|
7 |
"Last-Translator: Michael Wang <admin@qqworld.org>\n"
|
8 |
"Language-Team: QQWorld <admin@qqworld.org>\n"
|
9 |
"Language: zh_CN\n"
|
52 |
msgstr "沒有相關分類方法。"
|
53 |
|
54 |
#: qqworld-auto-save-images.php:151 qqworld-auto-save-images.php:319
|
55 |
+
#: qqworld-auto-save-images.php:1050
|
56 |
msgid "All remote images have been saved."
|
57 |
msgstr "已保存所有遠程圖像。"
|
58 |
|
771 |
|
772 |
#: qqworld-auto-save-images.php:870
|
773 |
msgid ""
|
774 |
+
"New Mode: Remote images will no be saved into media library, it means would "
|
775 |
+
"not generate thumbnail. but if you checked Set-Featured-Image, the first "
|
776 |
+
"remote image will be saved into media library."
|
777 |
+
msgstr ""
|
778 |
+
"新模式:遠程圖像不會被保存到媒體庫,這意味著不會生成各種尺寸的縮略圖。但如果"
|
779 |
+
"你勾選了設置特色圖片,則只會將第一幅遠程圖像保存到媒體庫。"
|
780 |
+
|
781 |
+
#: qqworld-auto-save-images.php:875
|
782 |
+
msgid ""
|
783 |
"Detecting replicated images in media library by Original-link and CRC (Only "
|
784 |
"for new images that after v1.1 updated)."
|
785 |
msgstr "在數據庫中通過原鏈接和CRC檢測重複圖像(僅用于更新1.1版之後下載的圖像)"
|
786 |
|
787 |
+
#: qqworld-auto-save-images.php:880
|
788 |
msgid "Automatically delete images code smaller than minimum-picture-size."
|
789 |
msgstr "自動刪除小于最小圖像尺寸的圖片代碼。"
|
790 |
|
791 |
+
#: qqworld-auto-save-images.php:885
|
792 |
msgid "Automatically exclude specified remote images by CRC."
|
793 |
msgstr "可以自動通過檢驗圖像文件CRC忽略指定的遠程圖像。"
|
794 |
|
795 |
+
#: qqworld-auto-save-images.php:890
|
796 |
msgid "Automatically delete html code of specified remote images by CRC."
|
797 |
msgstr "可以自動通過檢驗圖像文件CRC刪除指定的遠程圖像HTML代碼。"
|
798 |
|
799 |
+
#: qqworld-auto-save-images.php:895
|
800 |
msgid "Download Images from WeChat"
|
801 |
msgstr "下載微信圖片"
|
802 |
|
803 |
+
#: qqworld-auto-save-images.php:900
|
804 |
msgid "Cron Scan Posts"
|
805 |
msgstr "定時掃描文章"
|
806 |
|
807 |
+
#: qqworld-auto-save-images.php:905
|
808 |
msgid "Watermark"
|
809 |
msgstr "水印"
|
810 |
|
811 |
+
#: qqworld-auto-save-images.php:910
|
812 |
msgid "Images Compression (JPG Only)"
|
813 |
msgstr "圖片壓縮(僅JPEG)"
|
814 |
|
815 |
+
#: qqworld-auto-save-images.php:915
|
816 |
msgid "Use Proxy"
|
817 |
msgstr "使用代理服務器(可下載需要翻牆的圖片)"
|
818 |
|
819 |
+
#: qqworld-auto-save-images.php:920
|
820 |
msgid ""
|
821 |
"Smart Grabbing, Automatically detect 2 images url from href/src of remote "
|
822 |
"image with outside link, and grab the bigger one."
|
823 |
msgstr "智能抓取(從圖片src和鏈接href中提取圖片地址,並抓取較大的一個)"
|
824 |
|
825 |
+
#: qqworld-auto-save-images.php:925
|
826 |
msgid "Use Cookie-Free Domain & CDN Servive (AliYun OSS, UpYun, QiNiu)"
|
827 |
msgstr "使用Cookie-Free域名和CDN服務(阿裏雲OSS、七牛雲存儲、又拍雲存儲等)"
|
828 |
|
829 |
+
#: qqworld-auto-save-images.php:930
|
830 |
+
msgid "Support automatically convert BMP to JPG."
|
831 |
+
msgstr "支持自動將 BMP 轉換爲 JPG。"
|
832 |
+
|
833 |
+
#: qqworld-auto-save-images.php:935
|
834 |
msgid ""
|
835 |
"Collect webpage manually: Easy reprint articles, and get all the images to "
|
836 |
"choose from web pages."
|
837 |
msgstr "手動采集功能:輕松轉載文章、從網頁中獲取所有圖片供選擇"
|
838 |
|
839 |
+
#: qqworld-auto-save-images.php:945
|
840 |
msgid "Buy"
|
841 |
msgstr "購買"
|
842 |
|
843 |
+
#: qqworld-auto-save-images.php:946
|
844 |
msgid "QQWorld Collector"
|
845 |
msgstr "QQWorld收藏家"
|
846 |
|
847 |
+
#: qqworld-auto-save-images.php:947
|
848 |
msgid ""
|
849 |
"(No need understand chinese, there is a language switcher on left sidebar.)"
|
850 |
msgstr " "
|
851 |
|
852 |
+
#: qqworld-auto-save-images.php:1047
|
853 |
msgid "Has Missing/Undownloadable images."
|
854 |
msgstr "有 不存在/不可下載 的遠程圖像。"
|
855 |
|
856 |
+
#: qqworld-auto-save-images.php:1054
|
857 |
msgid "No remote images found."
|
858 |
msgstr "沒有遠程圖像。"
|
859 |
|
860 |
+
#: qqworld-auto-save-images.php:1241
|
861 |
msgid "Original Link"
|
862 |
msgstr "原始鏈接"
|
863 |
|
864 |
+
#~ msgid ""
|
865 |
+
#~ "Remote images will no be saved into media library, it means would not "
|
866 |
+
#~ "generate thumbnail. but if you checked Set-Featured-Image, the first "
|
867 |
+
#~ "remote image will be saved into media library."
|
868 |
+
#~ msgstr ""
|
869 |
+
#~ "遠程圖像不會被保存到媒體庫,這意味著不會生成各種尺寸的縮略圖。但如果你勾選"
|
870 |
+
#~ "了設置特色圖片,則只會將第一幅遠程圖像保存到媒體庫。"
|
871 |
+
|
872 |
#~ msgid ""
|
873 |
#~ "If the remote image had downloaded before, wouldn't download again and "
|
874 |
#~ "just load the attachment which already saved."
|
qqworld-auto-save-images.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: QQWorld Auto Save Images
|
4 |
Plugin URI: https://wordpress.org/plugins/qqworld-auto-save-images/
|
5 |
Description: Automatically keep the all remote picture to the local, and automatically set featured image.
|
6 |
-
Version: 1.7.15.
|
7 |
Author: Michael Wang
|
8 |
Author URI: http://www.qqworld.org
|
9 |
Text Domain: qqworld_auto_save_images
|
@@ -866,6 +866,11 @@ function save_outside_link($content, $link) {
|
|
866 |
<td>√</td>
|
867 |
<td>╳</td>
|
868 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
869 |
<tr>
|
870 |
<td><?php _e("Detecting replicated images in media library by Original-link and CRC (Only for new images that after v1.1 updated).", 'qqworld_auto_save_images'); ?></td>
|
871 |
<td>√</td>
|
@@ -921,6 +926,11 @@ function save_outside_link($content, $link) {
|
|
921 |
<td>√</td>
|
922 |
<td>╳</td>
|
923 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
924 |
<tr>
|
925 |
<td><?php _e('Collect webpage manually: Easy reprint articles, and get all the images to choose from web pages.', 'qqworld_auto_save_images'); ?></td>
|
926 |
<td>√</td>
|
@@ -1121,6 +1131,16 @@ function save_outside_link($content, $link) {
|
|
1121 |
return $content;
|
1122 |
}
|
1123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1124 |
public function content_save_pre($content, $post_id=null, $action='save') {
|
1125 |
$post = get_post($post_id);
|
1126 |
if ($post->post_type == 'revision') return;
|
@@ -1161,6 +1181,7 @@ function save_outside_link($content, $link) {
|
|
1161 |
}
|
1162 |
}
|
1163 |
}
|
|
|
1164 |
return apply_filters( 'qqworld-auto-save-images-content-save-pre', $content, $post_id );
|
1165 |
}
|
1166 |
|
@@ -1420,9 +1441,9 @@ function save_outside_link($content, $link) {
|
|
1420 |
// GD
|
1421 |
$img = @imagecreatefromstring($file);
|
1422 |
if (!$img && function_exists('fsockopen')) {
|
1423 |
-
$
|
1424 |
-
if ($
|
1425 |
-
$type = substr($
|
1426 |
$img = @call_user_func("imagecreatefrom{$type}", $image_url);
|
1427 |
if ($img) {
|
1428 |
ob_start();
|
3 |
Plugin Name: QQWorld Auto Save Images
|
4 |
Plugin URI: https://wordpress.org/plugins/qqworld-auto-save-images/
|
5 |
Description: Automatically keep the all remote picture to the local, and automatically set featured image.
|
6 |
+
Version: 1.7.15.3
|
7 |
Author: Michael Wang
|
8 |
Author URI: http://www.qqworld.org
|
9 |
Text Domain: qqworld_auto_save_images
|
866 |
<td>√</td>
|
867 |
<td>╳</td>
|
868 |
</tr>
|
869 |
+
<tr>
|
870 |
+
<td><?php _e("New Mode: Remote images will no be saved into media library, it means would not generate thumbnail. but if you checked Set-Featured-Image, the first remote image will be saved into media library.", 'qqworld_auto_save_images'); ?></td>
|
871 |
+
<td>√</td>
|
872 |
+
<td>╳</td>
|
873 |
+
</tr>
|
874 |
<tr>
|
875 |
<td><?php _e("Detecting replicated images in media library by Original-link and CRC (Only for new images that after v1.1 updated).", 'qqworld_auto_save_images'); ?></td>
|
876 |
<td>√</td>
|
926 |
<td>√</td>
|
927 |
<td>╳</td>
|
928 |
</tr>
|
929 |
+
<tr>
|
930 |
+
<td><?php _e('Support automatically convert BMP to JPG.', 'qqworld_auto_save_images'); ?></td>
|
931 |
+
<td>√</td>
|
932 |
+
<td>╳</td>
|
933 |
+
</tr>
|
934 |
<tr>
|
935 |
<td><?php _e('Collect webpage manually: Easy reprint articles, and get all the images to choose from web pages.', 'qqworld_auto_save_images'); ?></td>
|
936 |
<td>√</td>
|
1131 |
return $content;
|
1132 |
}
|
1133 |
|
1134 |
+
public function automatic_set_featured_pic_from_media_library($post_id) {
|
1135 |
+
if ( $this->featured_image == 'yes' && !has_post_thumbnail($post_id) ) {
|
1136 |
+
$media = get_attached_media('image', $post_id);
|
1137 |
+
if (!empty($media)) foreach ($media as $attachment_id => $attachment) {
|
1138 |
+
set_post_thumbnail( $post_id, $attachment_id );
|
1139 |
+
break;
|
1140 |
+
}
|
1141 |
+
}
|
1142 |
+
}
|
1143 |
+
|
1144 |
public function content_save_pre($content, $post_id=null, $action='save') {
|
1145 |
$post = get_post($post_id);
|
1146 |
if ($post->post_type == 'revision') return;
|
1181 |
}
|
1182 |
}
|
1183 |
}
|
1184 |
+
if (!empty($post_id)) $this->automatic_set_featured_pic_from_media_library($post_id);
|
1185 |
return apply_filters( 'qqworld-auto-save-images-content-save-pre', $content, $post_id );
|
1186 |
}
|
1187 |
|
1441 |
// GD
|
1442 |
$img = @imagecreatefromstring($file);
|
1443 |
if (!$img && function_exists('fsockopen')) {
|
1444 |
+
$type = @$this->fsockopen_image_header($image_url);
|
1445 |
+
if (!empty($type) && in_array($type, array('image/jpeg', 'image/gif', 'image/png'))) {
|
1446 |
+
$type = substr($type, 6);
|
1447 |
$img = @call_user_func("imagecreatefrom{$type}", $image_url);
|
1448 |
if ($img) {
|
1449 |
ob_start();
|