Title: Featured Image with URL
Author: Harikrut Technolab
Published: <strong>2024 年 1 月 22 日</strong>
Last modified: 2026 年 8 月 20 日

---

搜尋外掛

![](https://ps.w.org/featured-image-with-url/assets/banner-772x250.png?rev=3031179)

![](https://ps.w.org/featured-image-with-url/assets/icon-256x256.png?rev=3031179)

# Featured Image with URL

 由 [Harikrut Technolab](https://profiles.wordpress.org/harikrut/) 開發

[下載](https://downloads.wordpress.org/plugin/featured-image-with-url.1.0.7.zip)

[即時預覽](https://tw.wordpress.org/plugins/featured-image-with-url/?preview=1)

 * [詳細資料](https://tw.wordpress.org/plugins/featured-image-with-url/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/featured-image-with-url/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/featured-image-with-url/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/featured-image-with-url/#developers)

 [技術支援](https://wordpress.org/support/plugin/featured-image-with-url/)

## 外掛說明

### Featured Image with URL

Featured Image with URL 可以使用外部網址圖片做為網站文章、頁面及自訂內容類型 (例如
WooCommerce 的 [商品]) 的精選圖片，同時支援 WooCommerce 的商品圖庫。使用這個外掛，
便能輕鬆將網址圖片設定為精選圖片。

### 外掛功能

 * 為全部內容類型 (包含自訂內容類型) 設定精選圖片。
 * 可使用網址圖片作為 WooCommerce 的商品圖庫。
 * 可使用網址圖片作為 WooCommerce 多規格商品的圖片。
 * 可顯示圖片的不同尺寸，例如縮圖尺寸、中型尺寸或任何自訂尺寸。
 * 輕量化且易於使用。

### 致謝名單

這個外掛是以 [Featured Image by URL](https://tw.wordpress.org/plugins/featured-image-by-url/)
為基礎進行分支開發，感謝原始外掛開發者的傑出工作成果。

#### 參與方式

 * 使用者可以在外掛的 [GitHub 存放庫](https://github.com/harikrut/featured-image-with-url/)
   上參與開發工作。
 * 如果發現程式碼錯誤或問題，可以在外掛的 [GitHub 存放庫](https://github.com/harikrut/featured-image-with-url/)
   上提出。
 * 如果要將 Featured Image with URL 本地化為你的母語，請前往 [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/featured-image-with-url)。

### 1.0.7 – 2026-08-20

 * **Changed:** Bump WordPress “tested up to” version 7.1

### 1.0.6 – 2026-07-14

 * **IMPROVEMENTS** Enhanced XSS Protection

### 1.0.5 – 2026-06-22

 * **Changed:** Bump WordPress “tested up to” version 7.0

### 1.0.4 – 2024-12-06

 * **Changed:** Bump WordPress “tested up to” version 6.9
 * **Dev:** Add PHPCS and Plugin Check GitHub action

### 1.0.3 – 2024-12-09

 * **Changed:** Bump WordPress “tested up to” version 6.7

### 1.0.2 – 2024-08-25

 * **Added:** Update plugin assets GitHub action workflow.
 * **Changed:** Bump WordPress “tested up to” version 6.6
 * **Changed:** Bump WooCommerce “tested up to” version 9.2

### 1.0.1

 * **Added:** Backward compatibility for the “Featured Image by URL” plugin.

#### 1.0.0

 * Initial Version.

## 螢幕擷圖

[⌊在網址欄位填入外掛圖片網址，點擊 [預覽] 按鈕即可預覽⌉⌊在網址欄位填入外掛圖片網址，
點擊 [預覽] 按鈕即可預覽⌉[

在網址欄位填入外掛圖片網址，點擊 [預覽] 按鈕即可預覽

[⌊顯示網址圖片⌉⌊顯示網址圖片⌉[

顯示網址圖片

[⌊使用外部網址圖片的 WooCommerce 商品精選圖片及商品圖庫⌉⌊使用外部網址圖片的 WooCommerce
商品精選圖片及商品圖庫⌉[

使用外部網址圖片的 WooCommerce 商品精選圖片及商品圖庫

[⌊使用外部網址圖片的 WooCommerce 商品精選圖片在網站前端的顯示結果⌉⌊使用外部網址圖片
的 WooCommerce 商品精選圖片在網站前端的顯示結果⌉[

使用外部網址圖片的 WooCommerce 商品精選圖片在網站前端的顯示結果

[⌊外掛設定頁面 ([設定]→[Featured Image with URL])⌉⌊外掛設定頁面 ([設定]→[Featured
Image with URL])⌉[

外掛設定頁面 ([設定][Featured Image with URL])

## 安裝方式

#### 在網站上直接安裝這個外掛

 1. 登入至網站管理後台，然後前往 [外掛][安裝外掛]。
 2. 在搜尋框中輸入「Featured Image with URL」然後點擊 [搜尋] 按鈕。
 3. 在搜尋結果中找到 Featured Image with URL 外掛，然後點擊 [立即安裝]。
 4. 點擊外掛旁的 [啟用] 按鈕即可啟用外掛。

#### 在網站上手動安裝這個外掛

 1. 從 WordPress.org 下載 Featured Image with URL 的安裝套件 ZIP 壓縮檔。
 2. 將外掛安裝套件 ZIP 壓縮檔解壓縮所得的 `featured-image-with-url` 資料夾上傳至網站
    的 `/wp-content/plugins/` 目錄。
 3. 登入至網站管理後台，然後前往 [外掛] 畫面。
 4. 在清單中找到 Featured Image with URL，然後點擊 [啟用] 按鈕。

## 常見問題集

### 這個外掛是否適用於全部佈景主題？

這個外掛能與絕大多數的佈景主題搭配使用，但精選圖片取決於佈景主題的處理方式 (例如
無法擴充的 `wp_get_attachment_url` 函式)，因此**可能會發生無法搭配使用的狀況**。**
如果這個外掛無法在網站上正確執行，請隨時在[技術支援論壇](https://wordpress.org/support/plugin/featured-image-with-url)
提出技術支援需求，我們非常樂於協助使用者解決問題。**

## 使用者評論

![](https://secure.gravatar.com/avatar/efe0e1ec647bebdea84c741b3fe41a5ff22356a0a19fdf5b5bb0898c1107f552?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-41460/)󠁿

 [X.Company](https://profiles.wordpress.org/hsultd/) 2026 年 4 月 29 日

Simple and super practical. It's a must plugin in my sites.Easy setting, no bloat.
I wish there's a "import all featured image url from fifu" so I can get rid of that
bloated plugin.

![](https://secure.gravatar.com/avatar/69b74a8b449201f3e9e4c562803d8ede0bb97bd5ad04af631f12d6a7cac673ea?
s=60&d=retro&r=g)

### 󠀁[It does exactly what it says in the tin](https://wordpress.org/support/topic/it-does-exactly-what-it-says-in-the-tin-5/)󠁿

 [danielepais](https://profiles.wordpress.org/danielepais/) 2025 年 7 月 31 日

Excellent plugin that is very useful when you need to run your images from a remote
server.

![](https://secure.gravatar.com/avatar/95e6cc11b0a9926dabdfb5405716a2deef91e58e8fde2b672d57ad40f26ddf08?
s=60&d=retro&r=g)

### 󠀁[Very Good plugin](https://wordpress.org/support/topic/very-good-plugin-2995/)󠁿

 [parikshit4024](https://profiles.wordpress.org/parikshit4024/) 2025 年 7 月 16 
日

Excellent design

![](https://secure.gravatar.com/avatar/b1c82d28508e3befa9c4d51aaedc0437099281e50f3e162976693540f9af2f1e?
s=60&d=retro&r=g)

### 󠀁[Amazing plugin. You can use it with WP All Import also.](https://wordpress.org/support/topic/amazing-plugin-you-can-use-it-with-wp-all-import-also/)󠁿

 [Nicolas Lagios](https://profiles.wordpress.org/nicolaslagios/) 2025 年 6 月 2 
日

I want to let you know that it is the perfect plugin for remote images. The solution
if you are using WP All Import and you get the images from lets say {photos/photo}(
this returns all the images separated by comma), is to create two functions that
creates the serialized data to use it in custom fields: function get_featured_image(
$photos) {if (empty($photos)) return 'NO_PHOTOS';if (!is_array($photos)) { $photos
= explode(',', $photos);}$first = trim($photos[0]);return serialize([ 'img_url' 
=> $first, 'width' => '', 'height' => '']);}function get_gallery_images($photos){
if (empty($photos)) return '';if (!is_array($photos)) { $photos = explode(',', $
photos);}if (count($photos) < 2) return '';$gallery = [];for ($i = 1; $i < count(
$photos); $i++) { $url = trim($photos[$i]); $gallery[] = [ 'url' => $url, 'width'
=> '', 'height' => '' ];}return serialize($gallery);} Then you just create a custom
field for the featured image with name "_harikrutfiwu_url" and value: [get_featured_image({
photos/photo})] And a custom field for gallery images with name "_harikrutfiwu_wcgallary"
and value: [get_gallery_images({photos/photo})] That's all. Happy Import with this
amazing plugin.

![](https://secure.gravatar.com/avatar/5cecd0cc97be07668dce230e08992c025921179458e17767dfebb39355dc6111?
s=60&d=retro&r=g)

### 󠀁[Works perfectly](https://wordpress.org/support/topic/works-perfectly-2851/)󠁿

 [basivnia](https://profiles.wordpress.org/basivnia/) 2025 年 4 月 20 日

I rarely give reviews but this plugin is my lifesaver and it's hard not to recommend
it. I'm using it for couple of months now and it works perfectly on older and newer
vesions of Wordpress. Simple, no 200 pages of settings, just install and use. The
only thing that doesn't work for me is Yoast SEO's social media image preview which
worked with older version of Wordpress but doesn't work with the latest, sadly. 
Other than this little thing, it's simple, small and working well plugin.

![](https://secure.gravatar.com/avatar/b1cbd89a7569fc500b97c38fd9f93dbc3363b3c358d55c9a4aa49efd2f2cdb1a?
s=60&d=retro&r=g)

### 󠀁[saved $$ perfect for woocommerce](https://wordpress.org/support/topic/saved-perfect-for-woocommerce/)󠁿

 [rahaprogramming](https://profiles.wordpress.org/rahaprogramming/) 2025 年 2 月
24 日

note the woocommerce rest api keys for images:meta_gallery = {"key": "_harikrutfiwu_wcgallary","
value": [{"url": img_url} for img_url in product_images]}meta_featured = { # thumbnails"
key": "_harikrutfiwu_url","value": product_images[0]}meta_featured_alt = {"key":"
_knawatfibu_alt","value": product_images[0]}meta_images.append(meta_featured)product_data
= {"name": product_title,"type": "simple","regular_price": str(product_price),"price":
str(product_price),"sku": str(product_sku),"description": product_description,"short_description":
product_short,"status": "publish","categories": category_ids,"meta_data": meta_images,#"
images": images,"attributes":attributes_list}

 [ 閱讀全部 9 則使用者評論 ](https://wordpress.org/support/plugin/featured-image-with-url/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Featured Image with URL〉的開發相關工作。

參與者

 *   [ Harikrut Technolab ](https://profiles.wordpress.org/harikrut/)

〈Featured Image with URL〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/featured-image-with-url/contributors)
為這個外掛做出的貢獻。

[將〈Featured Image with URL〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/featured-image-with-url)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/featured-image-with-url/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/featured-image-with-url/)，或
透過 [RSS](https://plugins.trac.wordpress.org/log/featured-image-with-url/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/featured-image-with-url/)。

## 中繼資料

 *  版本 **1.0.7**
 *  最後更新 **3 個月前**
 *  啟用安裝數 **2,000+**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/featured-image-with-url/)
   及 [English (US)](https://wordpress.org/plugins/featured-image-with-url/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/featured-image-with-url)
 * 標籤:
 * [external featured image](https://tw.wordpress.org/plugins/tags/external-featured-image/)
   [featured image](https://tw.wordpress.org/plugins/tags/featured-image/)[image url](https://tw.wordpress.org/plugins/tags/image-url/)
   [remote featured image](https://tw.wordpress.org/plugins/tags/remote-featured-image/)
 *  [進階檢視](https://tw.wordpress.org/plugins/featured-image-with-url/advanced/)

## 評分

 4.9 星，滿分為 5 星

 *  [  8 個 5 星使用者評論     ](https://wordpress.org/support/plugin/featured-image-with-url/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/featured-image-with-url/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/featured-image-with-url/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/featured-image-with-url/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/featured-image-with-url/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/featured-image-with-url/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/featured-image-with-url/reviews/)

## 參與者

 *   [ Harikrut Technolab ](https://profiles.wordpress.org/harikrut/)

## 技術支援

最近 2 個月解決的問題:

     總計 1 個問題，已解決 0 個

 [檢視技術支援論壇](https://wordpress.org/support/plugin/featured-image-with-url/)