[WordPress] 外掛分享: SmartCrop

首頁外掛目錄 › SmartCrop
40+
安裝啟用
★★★★★
5/5 分(1 則評價)
2949 天前
最後更新
問題解決
WordPress 3.5+ PHP 5.4+ v1.0.0 上架:2018-02-16

內容簡介

WordPress 預設裁切縮圖會以圖片中心為中心點,但 SmartCrop 嘗試尋找並使用圖片最有趣的部分做為中心點進行裁切。

這個過程是完全自動的,無法進行手動控制。如果您希望手動指定縮圖裁剪位置,可以使用其他外掛。

由於對大圖片進行分析可能會很慢,縮圖最初會以中心點進行裁剪,稍後再異步生成智能裁剪。這樣可避免上傳新圖片時變得緩慢。然而,這樣做的副作用是在重新裁切之前,您的瀏覽器可能會加載和緩存中心裁剪的縮略圖。

想要智能裁剪過去上傳的圖片嗎? 您可以使用我的重新生成縮略圖插件進行觸發。請確保取消勾選跳過現有縮略圖。

需要幫助?發現錯誤?想貢獻程式碼?

該插件的支援服務提供在WordPress.org 論壇上。

此外,該插件的源代碼可在GitHub上找到。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SmartCrop」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

By default, WordPress uses the center of an image when creating cropped thumbnails. SmartCrop attempts to find and use the most interesting part of an image and centers the cropping on that portion of the image.
This process is entirely automatic and cannot be manually controlled. There are other plugins out there if you wish to manually specify where you want thumbnails to be cropped.
Since this analysis process can be slow on large images, thumbnails are initially center cropped and later asynchronously regenerated to be smartly cropped. This avoids the uploading of new images from being slow. The one side effect of this however is that your browser may load and cache the centered thumbnail before it’s re-cropped.
Want to smartly crop your past image uploads? You can use my Regenerate Thumbnails plugin to trigger that. Make sure to uncheck skipping existing thumbnails.
Need Help? Found A Bug? Want To Contribute Code?
Support for this plugin is provided via the WordPress.org forums.
The source code for this plugin is available on GitHub.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon