內容簡介
此外掛可以下載文章中外部URL的圖片,將其註冊在媒體庫中,並用媒體庫的URL替換原本的URL。
當你從另一個部落格匯入文章時,這個功能非常有用。
舉個例子,如果現在部落格的URL是https://wiredpunch.com,下載後的結果如下:
<img src=”http://example.com/xxxx.jpg” >
↓
<img src=”https://wiredpunch.com/wp-content/uploads/2018/01/xxxx.jpg” />
在下載目標伺服器的php.ini中,需要將“allow_url_fopen”的值設置為真。
外掛標籤
開發者團隊
原文外掛簡介
Download the image of the external URL present in the article, register it in the media library, and replace the URL with the media library.
It is useful when importing from another blog.
For example, if the URL of the current blog is https://wiredpunch.com, the result is as follows.
<img src=”http://example.com/xxxx.jpg” >
↓
<img src=”https://wiredpunch.com/wp-content/uploads/2018/01/xxxx.jpg” />
It is necessary to set the value of “allow_url_fopen” to true in php.ini of the download destination server.
