前言介紹
- 這款 WordPress 外掛「Advanced Custom Fields: Image Crop Add-on」是 2014-01-31 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 20000 個安裝啟用數。
- 上一次更新是 2017-07-28,距離現在已有 2836 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.5 以上版本才可以安裝。
- 有 33 人給過評分。
- 論壇上目前有 1 個提問,問題解答率 0%
外掛協作開發者
外掛標籤
afc | crop | image | image crop | advanced custom fields |
內容簡介
ACF圖像裁剪是ACF本地Image字段的擴展版本。
該字段給開發人員 /管理員提供了一個選項,可以預定義圖像的大小,用戶會在各種編輯屏幕上被提示裁剪。這解決了WordPress執行的自動居中裁剪,導致圖像被不適當裁剪的常見問題。
插件支持定義圖像尺寸以及自定義選項,使開發人員能夠在字段編輯屏幕中指定尺寸。
該字段可以配置為強制裁剪或最小尺寸裁剪。強制裁剪將鎖定裁剪的長寬比,而最小尺寸裁剪將不允許用戶將圖像裁剪到指定尺寸以下。
這個插件不同于像Manual Image Crop這樣的插件,當用戶裁剪圖像時,將生成一個新的附件,因此相關的裁剪僅適用於編輯上下文。它還使用戶免受處理各種圖像大小的概念的困擾。
從版本1.0開始,可以配置該字段將裁剪後的圖像作為媒體項目創建(默認行為),或者僅創建該圖像並直接引用文件而不將其添加到媒體庫中。這將防止媒體庫中充滿了幾個相同圖像的裁剪版本。當選擇此選項時,該字段的唯一可用返回類型為URL。
兼容性
此外掛支援以下版本:
版本4及以上
原文外掛簡介
ACF image crop is an extended version of the native Image-field in ACF.
The field gives the developer/administrator the option to predefine a size for the image, which the user is prompted to crop on the various edit screens. This solves the common issue of images being cropped inappropriately by the automated center-crop, that wordpress performs.
The plugin supports the defined image sizes as well as a custom option, enabling the developer to specify the dimensions from within the field edit screen.
The field can be configured to enforce a hard crop or a minimal-dimension-based crop. The hard crop will lock the aspect ratio of the crop where as the minimal-dimension-based crop will not allow the user to crop the image below the specified dimensions.
This plugin diverts from plugins like Manual Image Crop in that when the user crops an image, a new attachment is generated, so that the relevant crop only applies in the context it is edited. It also keeps the user from dealing with the concept of various image sizes.
As of version 1.0 the field can be configured to either create the cropped image as a media-item (the default behavior) or simply create it and refer directly to the file without adding it to the media library. This will prevent the media library from being cluttered with several cropped versions of the same image. When this option is selected the only available return type for the field is URL.
Compatibility
This add-on will work with:
version 4 and up
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Advanced Custom Fields: Image Crop Add-on」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.8 | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.1.1 | 1.1.2 | 1.1.3 | 1.1.4 | 1.4.1 | 1.4.2 | 1.4.3 | 1.4.4 | 1.4.7 | 1.4.8 | 1.4.9 | trunk | 1.4.10 | 1.4.11 | 1.4.12 |
延伸相關外掛(你可能也想知道)
Advanced Custom Fields: Font Awesome Field 》在 Advanced Custom Fields 中添加一個Font Awesome 圖標字段類型。, , 指定要使用哪些 Font Awesome...。
ACF Content Analysis for Yoast SEO 》此外掛確保 Yoast SEO 分析包括所有 ACF 內容,包括彈性內容和重複器。, Yoast SEO for WordPress 內容和 SEO 分析不會考慮一篇文章的Advanced Custom Fields...。
Table Field Add-on for ACF and SCF 》表格欄位外掛程式增強了Advanced Custom Fields外掛程式的功能,讓表格編輯更易於使用。, 此外掛程式需要Advanced Custom Fields外掛程式或專業版!, 表格欄...。
ACF: Better Search 》此插件可為 WordPress 搜尋引擎添加額外功能,讓您可以在 Advanced Custom Fields 指定的欄位中搜尋內容。, 一切都是自動運作的,您無需添加任何額外的程式碼...。
Advanced Custom Fields: Gravity Forms Add-on 》提供進階自訂欄位 (Advanced Custom Field),讓 WordPress 編輯使用者或管理員可以在欄位群組配置中選擇 Gravity Form。, 可以在 外掛的 GitHub 存儲庫 中找...。
Advanced Custom Fields: Nav Menu Field 》使用 Nav Menu Field 外掛將導覽選單加入Advanced Custom Fields (ACF)。此外掛會在 ACF(版本 5 和 4)加入 Nav Menu 欄位類型,讓您從 WordPress 管理後台...。
ACF Theme Code for Advanced Custom Fields 》ACF Theme Code 外掛可以自動生成在主題中實現 Advanced Custom Fields 所需的程式碼。以下是該外掛的功能特色:, , - 縮短網站開發時間。, - 當您發布、編輯...。
ACF qTranslate 》此外掛提供 qTranslate-X 相容的 ACF4 和 ACF5PRO 欄位類型,包括文字、文字區域、所見即所得編輯器、影像和檔案。新增欄位至群組時,這些新的欄位類型將在欄...。
ACF Field For Contact Form 7 》此外掛為「Advanced Custom Fields」WordPress 外掛添加一個「Contact Form 7」欄位類型。, 您可以將一個或多個聯絡表單存儲在「Advanced Custom Fields」欄...。
Admin Columns for ACF Fields 》使用此外掛在 WordPress 後端的「所有文章」表格視圖中顯示 ACF 欄位。, 只需在任何常規字段的 ACF 字段設置中啟用新選項「管理列」(請參見以下例外),就會...。
ACF Columns 》使用 ACF Columns(ACF欄位佈局外掛)可以在文章編輯器中將ACF欄位排成欄位群組。, 使用新的ACF 5.7,可以在不同的欄位中使用條件邏輯。, 對於每個欄位,請在...。
LuckyWP ACF Menu Field 》將導覽選單欄位類型加入 Advanced Custom Fields 外掛。, 功能特色, , 可自訂回傳值:ID、物件(WP_Term)或 HTML(使用 wp_nav_menu() 函數)。, 引用過濾器...。
Advanced Custom Fields Repeater & Flexible Content Fields Collapser 》此外掛的「Repeater」和「Flexible Content Field」功能,讓 ACF 變得非常強大,但若有多個欄位使用這兩者中的一個或兩個以上,排序時會顯得相當不便。此外掛...。
Advanced Custom Fields: Typography Field 》「Advanced Custom Fields」外掛的排版類別欄位,讓你新增不同的文字屬性,例如字型大小、字型家族、字體顏色等。, 支援的子欄位, , 字型大小, 字型家族, 字...。
ACF User Role Field Setting 》警告:自 4.0.0 版本起支援子欄位已被移除, 這是針對 Advanced Custom Fields (ACF) 版本 5 的附加外掛程式。, 若未安裝 ACF5,此外掛程式將不提供任何功能。...。