onedrop/imagesrcset
Composer 安装命令:
composer require onedrop/imagesrcset
包简介
Adds responsive image sizes via the the srcset attribute to the default NodeTypes
README 文档
README
This adds responsive image sizes via the the srcset attribute to the default Neos.NodeTypes:Image and Neos.NodeTypes:TextWithImage NodeTypes.
How-To:
Install:
Use the command composer require onedrop/imagesrcset to add this package as a requirement to your Neos project.
(Or: Download the zip and unpack it to Packages/Application/Onedrop.ImageSrcset)
Configuration:
The following default values are provided by the plugin:
Onedrop:
ImageSrcset:
sizes: # dynamic array of sizes generated for the srcset attribute
full: 2560
large: 1280
medium: 768
small: 420
tiny: 240
Feel free to add or remove sizes according to your specific needs.
统计信息
- 总下载量: 2.19k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-25