內容簡介
當你上傳一個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。
外掛標籤
開發者團隊
原文外掛簡介
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
