[WordPress] 外掛分享: CSprite

前言介紹

  • 這款 WordPress 外掛「CSprite」是 2014-07-20 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前有 1000 個安裝啟用數。
  • 上一次更新是 2014-07-21,距離現在已有 3940 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0.1 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

creatomatic |

外掛標籤

image | sprite | combine | generate | automatic |

內容簡介

只需將圖示分別上傳到您的佈景主題的「images/csprite」資料夾。

前往 WordPress 儀表板 > 工具 > CSprite > 重建以重建精靈。

CSprite 將會將所有圖像結合成一個圖形,繁重的工作將由它完成。

它會在要排入佇列的樣式表中為您建立所有類別。

然後,您可以像這樣在佈景主題中使用精靈:

它會根據圖像名稱命名類別,因此請確保它們是唯一的。

更多關於此外掛的資訊請參閱 http://www.creatomatic.co.uk/csprite-automatic-image-sprite-tool-wordpress/

原文外掛簡介

Simply upload your icons individually to your theme’s “images/csprite” folder.
Go to WordPress Dashboard > Tools > CSprite > Rebuild to rebuild the sprite.
CSprite will do all the hard work of combining all the images into a single graphic.
It will create all the classes for you in the enqueued stylesheet.
You can then simply use the sprite in your theme like this:

It will name the classes according to the image names, so make sure that they are unique.
Read more about this plugin at http://www.creatomatic.co.uk/csprite-automatic-image-sprite-tool-wordpress/

各版本下載點

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

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


最新版本

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

  • SVG Spritemap 》SVG Spritemap 可讓您使用媒體上傳程式新增 SVG,並從媒體庫中建立、管理 SVG Spritemap。, 貢獻, 此專案的 Git 存儲庫位於此處: https://github.com/jonatha...。
  • Aqua SVG Sprite 》這個外掛可以讓你從 WordPress 媒體庫中的圖片建立 SVG sprites。, 為什麼要使用 SVG Sprites?, SVG(可縮放向量圖形)可讓你將解析度獨立的圖像添加到網站...。
  • Sprite Generator 》建立由不同圖片組成的精靈圖,以最佳化網站載入速度!您可以建立 JPG、PNG 和 GIF 精靈圖。。
  • Nusprite 》Nusprite 外掛可以讓您從文章的特色圖片產生網頁精靈圖片並透過 PHP 取得 CSS 規則。, 功能特色, , 可選擇圖像來源(特色圖片或自訂欄位), 長期檔案快取的版...。

文章
Filter
Mastodon