[wordpress插件] ACF: Focal PointACF:联络点

wordpress 插件 文章 2020-01-26 17:00 600 0 全屏看文

AI助手支持GPT4.0

评分

100

100

描述

Adds a new field type to ACF allowing users to draw focal points on images.

向ACF添加新的字段类型,允许用户在图像上绘制焦点。

Uses Wenting Zhang’s Responsify.js to create focal points on images using jQuery.

使用Wenting Zhang的 Responsify.js 使用jQuery在图像上创建焦点。

Works similar to a traditional ACF image field, but once an image is selected and a preview is displayed, this plugin allows drawing a box around a focal point in the image using canvas.

与传统的ACF图像字段类似,但是一旦选择了图像并显示了预览,此插件即可使用画布在图像的焦点周围绘制一个框。

That image can then be displayed in a nice responsified fashion.

然后可以以一种负责任的方式显示该图像。

View the ResponsifyJs homepage for a demo.

查看 ResponsifyJs 主页以获取演示。

Image returned as either tag or object to use within themes.

作为主题中使用的标签或对象返回的图像。

Includes responsify.js.

包括responsify.js。

See Frequently Asked Questions for more info and detailed usage.

有关更多信息和详细用法,请参见常见问题。

Last tested on ACF v4 (4.4.5) & ACF Pro (5.3.3.2).

在ACF v4(4.4.5)和ACF Pro(5.3.3.2)上进行了最后测试。

安装步骤

Since this a WordPress plugin just search for “ACF: Focal Point” in the plugins section in the admin and install it from there.

因此,这是一个WordPress插件,只需在管理员的插件部分中搜索“ ACF:Focal Point”,然后从那里进行安装。

If you would rather install it manually you can do the following:

如果您希望手动安装它,可以执行以下操作:

    1. Download and extract the plugin
    2. 下载并提取插件

    3. Copy the acf-focal_point folder into your wp-content/plugins folder
    4. acf-focal_point 文件夹复制到您的 wp-content / plugins 文件夹

    5. Activate the Focal Point plugin via the plugins admin page
    6. 通过插件管理页面激活Focal Point插件

    7. Create a new field via ACF and select the Focal Point type
    8. 通过ACF创建新字段并选择联络点类型

    9. Please refer to the Frequently Asked Questions for more info regarding the field type settings
    10. 有关字段类型设置的更多信息,请参阅常见问题解答

下载地址

https://downloads.wordpress.org/plugin/acf-focal-point.1.0.2.zip

https://downloads.wordpress.org/plugin/acf-focal-point.1.0.2.zip

-EOF-

AI助手支持GPT4.0