[WordPress] 外掛分享: TIFF Preview.

首頁外掛目錄 › TIFF Preview.
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
60+
安裝啟用
尚無評分
4161 天前
最後更新
問題解決
WordPress 3.0.1+ v0.0 上架:2014-10-26

內容簡介

當你上傳一個TIFF附件時,會創建第二個JPEG附件,可用作TIFF的預覽。該外掛還可使預覽圖像在正常圖像功能,如 wp_get_attachment_image() 中代替tif圖像,並將預覽圖像設置為tif 的特色圖像,因此在tif ID上調用 get_post_thumbnail_id() 會返回其預覽的 ID。需要使用 ImageMagick。如果你要上傳TIFF文件到你的網站上,你可能需要增加你的上傳限制。

任意部分
一個簡短的Markdown示例

有序列表:

當你上傳一個TIFF附件時,會創建第二個jpeg附件,可用作TIFF的預覽。
它使預覽圖像在正常圖像功能,如wp_get_attachment_image()中代替tif圖像。
它將預覽圖像設置為tif的特色圖像,因此調用tif ID上的get_post_thumbnail_id()會返回其預覽的ID。

外掛標籤

開發者團隊

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

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

原文外掛簡介

When you upload a TIFF attachment, a second jpeg attachment will be created that can be used as the preview of the TIFF. The plugin also makes it so the preview image stands in for the tif image for normal image functions like wp_get_attachment_image() it also sets the preview image as the tif’s featured image so calling get_post_thumbnail_id() on the tif ID returns the id for its preview REQUIRES IMAGE MAGICK. Also if you’re going to be uploading TIFF files to your site, you’ll probably want to increase your upload limit.
Arbitrary section
A brief Markdown Example
Ordered list:

When you upload a TIFF attachment, a second jpeg attachment will be created that can be used as the preview of the TIFF.
Makes it so the preview image stands in for the tif image for normal image functions like wp_get_attachment_image()
sets the preview image as the tif’s featured image so calling get_post_thumbnail_id() on the tif ID returns the id for its preview

延伸相關外掛

文章
Filter
Mastodon