[WordPress] 外掛分享: URL Image Uploader

首頁外掛目錄 › URL Image Uploader
10+
安裝啟用
尚無評分
2619 天前
最後更新
問題解決
WordPress 4.6+ PHP 5.2.4+ v1.0 上架:2019-01-15

內容簡介

這個外掛是專為開發者設計的,讓他們可以輕鬆透過 URL 上傳圖片至 WordPress。

這個外掛的功能包括:
1. 您可以在這個外掛中輸入圖片的網址,它會自動上傳並回傳附件 ID 給您。
2. 如果您多次輸入同一個網址,它不會重新上傳圖檔,而是回傳已上傳的附件 ID。
3. 只有在圖片的網址或大小有改變時,圖片才會被重新上傳。

此外,這個外掛還有其他功能,可幫助開發者獲取圖片和大小的詳細資訊。

任意部分

以下的功能將被定義,以便讓開發者了解。

簡要的 Markdown 範例

無序列表:

Function iUploadImageByURL:這個基本功能可用於從網址上傳圖片。它會回傳附件 ID,並從圖片網址創建附件。如果 URL 和圖片大小相同,就只會上傳一次圖片,如果再次輸入相同的 URL 和大小的圖片,就會回傳已經上傳的附件 ID。
Function iGetFileSize:這個功能可用於從網址獲取圖片大小。
Function sFormatSize:此功能可返回圖片的測量格式大小。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「URL Image Uploader」→ 直接安裝(推薦)

原文外掛簡介

This plugin is particularly designed for developers so that they can easily upload images via URL.
Features of this plugin:
1. You can give URL to this plugin then this will upload the image to WP and will return attachment ID.
2. You can give the same URL multiple times but it will not upload an image each time, it will upload an image once and will return attachment ID each time when it is called.
3. If image URL is change or size of the image on URL is different then just on that condition image will be uploaded to WordPress
It has some more functions too that will help developers for getting details about image and size as well.
Arbitrary section
The following features of this plugin are going to be defined for developer understandings.
A brief Markdown Example
Unordered list:

Function iUploadImageByURL This function is the basic function that can be used while upload image from URL. It will return Attachment_ID after creating an attachment from image URL. Image from URL will be uploaded once if URL and size of the image are same. If the same URL with the same size of the image given then already created attachment of that image will be uploaded.
Function iGetFileSize This function can be used to get the size of the image from URL.
Function sFormatSize This function will return measurement format size of the image.

延伸相關外掛

文章
Filter
Mastodon