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在图像上创建焦点。 p>
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 主页以获取演示。 p>
Image returned as either tag or object to use within themes.
作为主题中使用的标签或对象返回的图像。
Includes responsify.js.
包括responsify.js。 p>
See Frequently Asked Questions for more info and detailed usage.
有关更多信息和详细用法,请参见常见问题。 p>
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)上进行了最后测试。 p>