[WordPress] 外掛分享: WP Image Color Palette

WordPress 外掛 WP Image Color Palette 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「WP Image Color Palette」是 2017-07-05 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2017-08-14,距離現在已有 2820 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.8 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

mkronenfeld |

外掛標籤

image | swatches | extraction | image palette | color extraction |

內容簡介

特色:

從附件圖片中提取顏色並將其保存到文章元中。
多個 php 函數可從圖像中提取數據或接收文章元。

PHP 函數

您可以在文章元中找到您的圖像樣本。 有兩個全局 php 函數可獲取這些值:

wpip_get_post_thumbnail_color( int|WP_Post $post )

從文章中獲取主要的 RGB 顏色。

wpip_get_post_thumbnail_colors( int|WP_Post $post )

從文章中獲取主要的 RGB 顏色。

進階用戶也可以喜歡以下函數,從 WordPress 中的任何圖像中提取顏色。

wpip_get_image_color( string $file, int $precision = 20, int $palette_length = 5 )

從圖像中獲取主要的顏色。

wpip_get_image_colors( string $file, int $precision = 20, int $palette_length = 5 )

獲取圖像顏色色板。

啟用後

在您的「工具」菜單中訪問「圖像調色板」頁面。
檢查調試信息。 如果一切都看起來很好,您就可以關掉了。

原文外掛簡介

Features:

Extracts colors from attachment images and saves it to the post meta.
Several php functions to receive the post meta or extract data from images on the fly.

PHP functions
You can find your image swatches in the post meta. There are two global php functions to get these values:
wpip_get_post_thumbnail_color( int|WP_Post $post )

Gets the main rgb color from a post.
wpip_get_post_thumbnail_colors( int|WP_Post $post )

Gets the main rgb colors from a post.
Advanced users may also like the following functions to extract the colors from any image they want in WordPress.
wpip_get_image_color( string $file, int $precision = 20, int $palette_length = 5 )

Gets the main color from an image.
wpip_get_image_colors( string $file, int $precision = 20, int $palette_length = 5 )

Gets the image color palette.
After activation

Visit the ‘Image Color Palette’ page in your ‘Tools’ menu.
Check the Debug information. If everything looks good, you are ready to off.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Image Color Palette」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.1.0 | 1.2.0 | 1.3.0 | 1.3.1 | 1.4.0 | trunk |

延伸相關外掛(你可能也想知道)

  • Summy: Excerpt Extraction 》Summy透過多種演算法來自動生成您文章的摘要。, 它會根據您擴充的程式設定選出分數最高的句子。, WP-Summy基於Sum+my建立,並透過您的反饋來進一步發展核心庫...。
  • ChoiceCuts Image Juggler 》ChoiceCuts Image Juggler 可輕鬆處理所有圖像處理。剝離圖像,調整到橫向,調整到縱向以及建立縮略圖。您可以輕鬆地在流程中加入幾個簡易的燈箱,以呈現圖像...。

文章
Filter
Apply Filters
Mastodon