Auto Upload Images


這個外掛在作者儲存文章後,便會自動搜尋內容中的圖片網址,然後將外部圖片上傳/匯入至 WordPress 的 uploads 目錄中,並將外部圖片新增至媒體庫,最後還會在內容中以新的圖片網址取代舊的圖片網址。


  • 自動尋找文章內的圖片,並將圖片儲存至網站伺服器及 WordPress 媒體庫
  • 以網站伺服器上的新圖片網址更新文章內的舊圖片網址
  • 將這個外掛儲存的圖片新增至 WordPress 媒體庫
  • 可選取要在自動上傳圖片時排除於外的自訂內容類型
  • 選取要排除的網域名稱,以便在儲存圖片時排除來自指定網域位址的圖片
  • 選取儲存的圖片的自訂起點網址
  • 選取儲存的圖片的檔案名稱自訂命名規則
  • 選取儲存的圖片的替代文字自訂命名規則
  • 選取儲存的圖片最大寬度及高度




  • 外掛設定頁面:英文
  • 外掛設定頁面:波斯文


將解壓縮所得的 auto-upload-images 資料夾及其全部檔案上傳至 wp-content/plugins 目錄中,然後啟用這個外掛。
如需進行設定,請前往 [設定]→[Auto Upload Images] 變更預設設定。


這個外掛能在安裝 Gutenberg 外掛的 WordPress 3.1 或更新版本的網站上使用嗎?

可以,但是在編輯器中透過 AJAX 儲存後,不會立即顯示網址。

設定頁面中的 [起點網址] 設定的作用為何?


設定頁面中的 [圖片名稱] 設定的作用為何?


設定頁面中的 [需要排除的網域] 設定的作用為何?



2022 年 9 月 19 日
I've had more than 5K posts with external images, and the source server was being shut down, so this saved me. It even works when you write a script that will just call wp_update_post() on the posts you need to update, there was no need to go clicking 5000 times.
2022 年 8 月 27 日
The plugin is quite helpful in allowing users to upload external photos straight to WordPress without first storing them to the local computer. Best plugin comes under time saving category.
2022 年 7 月 11 日
I came across this plugin via a tutorial on WP Beginner on how to import non-local images. I was struggling with this as I needed to copy Block Editor content from one site to another. However, when you do this, the images still reference the old site. With this plugin, you install it, and simply "update" the post. I recommend doing this from the bulk-edit screen. Just do a "Quick Edit" and update. Like magic, all the non-local images in the post are brought over into the media library and your post is updated with the correct local links. This is such a huge time-saver because I could not find a "native" way to do this, and it would've resulted in me having to basically download and re-upload the images. Kudos to the plugin author. This plugin is fantastic. And for those wondering, it still works with WordPress 6.0.
2022 年 5 月 27 日
First thanks for the great plugin which really saves a lot of time for me. However I have problems with importing .svg images. Also I read about problems with webp images. So could you provide an overview of supported image formats? Thanks 🙂
閱讀全部 77 則使用者評論


以下人員參與了開源軟體〈Auto Upload Images〉的開發相關工作。


Auto Upload Images 外掛目前已有 5 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Auto Upload Images〉外掛本地化為台灣繁體中文版


任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄



  • Add support urls without schemes
  • Add support to showing www if exists in base url #58
  • Fix duplicate images in attachments bug reported #59
  • Fix bug to download images from some urls #71
  • Integrate with Gutenberg editor
  • Add Russian translation


  • Add support for detecting images from “srcset” attribute in img tag


  • Fixed some important bugs
  • Add new feature to reset all options of plugin to defaults settings
  • Update with some enhancements in image resizing


  • Update with change image downloader
  • Update with save post enhancements
  • Update integrate with Gutenburg editor
  • Fixed mime_content_type error in some cases
  • Fixed some minor bugs
  • Delete deprecated wp functions
  • Add Korean translation
  • Add French translation


  • Fixed critical bug with update to new file structure


  • Fixed bug and add support for base url with HTTPS
  • Fixed bug in image alt attribute replacement
  • Some optimizations and improvements code
  • Enhancement in files security access
  • Update files structures
  • Update setting page styles
  • Update screenshot pictures
  • Add Information box to setting page


  • Fixed some bugs


  • Add option for customize images alt attribute with defined patterns
  • Add option for exclude post types from auto images uploading
  • Add %timestamp%, %post_id%, %postname%, %image_alt% patterns for custom file names and image alt names.
  • Handling image alt attribute
  • Change code structures and many important optimizations
  • Saving images on upload directory with same post date
  • Fixed bugs with uploading images from create new posts by wp restful api
  • Fixed some bugs. Thanks to Sergey Funn


  • Added %random% pattern for file names. Contributed by Zdravko Danev
  • Added Italian translation. Thanks to Patryk Chmura


  • Fixed bug in problem with some urls


  • Added option for choosing max width and height of saved images
  • Added new shortcodes for custom filenames. %year%, %month% and %day%
  • Added error message for “PHP CURL” disabled sites
  • Fixed bug in saving Persian and Arabic filename
  • Fixed bug in saving image process
  • Fixed bug in getting images url
  • Many optimizations in code and enhancements performance


  • [Fixed] Fixed a bug in replace exclude urls
  • [Updated] Some optimize in code
  • [Added] Added Español translation. Thanks to Diegoh
  • [Added] Added Russion translation. Thanks to Артём
  • [Added] Added German translation. Thanks to Till


  • [Updated] Optimize save post
  • [Added] Add language files (English, Persian)
  • [Added] Add option to choose exclude urls
  • [Added] Add option for choosing a custom filename
  • [Added] Add option for choosing a custom base url
  • [Added] Add settings page
  • [Fixed] Fixed for adding image correctly to the media library


  • [Fixed] Fixed tiny bug 😉 Thanks to Ali for reporting bug


  • [New Feature] Work With Multi Address Sites
  • [Fixed] Work with Persian & Arabic URLs
  • [Fixed] Replace URL for images already been uploaded
  • Implementation with object-oriented


  • Fixed some bugs


  • Fixed Bug: Save one revision post
  • Fixed Bug: Fix pattern of urls
  • Fixed Bug: Save file with same name
  • Fixed Bug: More images with same urls in post
  • Fixed Bug: Work with ssl urls


  • Add image to Media Library and attach to post
  • Fix a bug


  • It’s first version.