外掛說明
開放上傳 .heic 檔案至媒體庫,上傳 .heic 格式圖片後產生 .webp 格式圖片複本。選用設定可更換上傳的原始圖片而不是建立複本。
產生 .webp 格式圖片複本的功能通常能於執行 ImageMagick 7 或更新版本的網站伺服器上執行。如果網站伺服器已安裝 ImageMagick 7,啟用外掛後便會在 [設定]→[媒體] 中看到 [HEIC 支援] 選單項目。
安裝方式
- 將外掛安裝套件解壓縮所得的
heic-support
資料夾上傳至網站的/wp-content/plugins/
目錄。 - 請在 [外掛] 畫面啟用外掛 ([外掛]→[已安裝的外掛])。
如果網站伺服器已安裝 ImageMagick 7,啟用外掛後便會在 [媒體] 中看到 [HEIC 支援] 選單項目。
使用者評論
2023 年 1 月 11 日
It would be better if you can add an option to generate JPEG files when uploading
參與者及開發者
變更記錄
2.0.0
- [Added] Add filters around the webp format and image/webp mime type strings so they can be changed by other developers.
- [Added] Adds an optional feature to replace .heic images rather than create a copy. A switch enables the feature at Settings → Media.
- [Fixed] Updates an error message to stop mentioning a specific minimum version of ImageMagick. It was not accurate, and other dependencies like libheif could be missing that prevent conversions from working.
- [Changed] Moves all plugin settings from Media → HEIC Support to Settings → Media.
- [Changed] Changes the tested up to version to 6.2.0.
- [Removed] Removes the menu at Media → HEIC Support.
1.0.1
- [Fixed] Fixes a bug that caused a parse error in PHP versions less than or equal to 7.2.
- [Changed] Changes the tested up to version to 6.1.1.
1.0.0
- [Added] First public version. Adds
.heic
support to WordPress. If ImageMagick 7 or above is installed, creates.webp
copies of.heic
images uploaded to the Media Library.