tparushev/carbon-field-image-map
Composer 安装命令:
composer require tparushev/carbon-field-image-map
包简介
Carbon Fields extension, that adds a Image Map field type.
README 文档
README
Introduction
This field type can be used for getting a rectangular selection ( 4 points on image ). The field is using the post featured image. So the best scenario is to use it at separate post type. The image must be uploaded and after refresh you'll be able to draw the rectanle.
Usage
The field type is image_map. You can use the carbon fields as usual:
Field::make( 'image_map', 'coordinates', __( 'Image Map', 'crb' ) )
The return value will be the 4 points of the selection: left,top,right,top,right,bottom,left,bottom.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2021-07-13