dorsetdigital/silverstripe-photoswipe-elemental
Composer 安装命令:
composer require dorsetdigital/silverstripe-photoswipe-elemental
包简介
Allows embedding of a simple Photoswipe-powered gallery on a page
README 文档
README
Add a responsive image gallery to a page using the Photoswipe library in an Elemental Block.
Includes gallery functionality along with a lazy-loader for the thumbnails to help with page-load efficiency.
Requirements
- Silverstripe CMS 4 or 5
- bummzack/sortablefile
- dnadesign/silverstripe-elemental
Installation
- Install the code with
composer require dorsetdigital/silverstripe-photoswipe-elemental - Run a
dev/build?flushto update your project
Usage
Once you have installed the module, you can simply add the new block to any Elemental page.
The template which produces the standard gallery markup can be overridden, but please note that some of the markup structure is required to make everything work!
Credits
- The superb PhotoSwipe library - http://photoswipe.com/
- Bummzack's sortable file extension for SS4 - https://github.com/bummzack/sortablefile
- Werner Krauss for his translation work and Elemental 4 updates - https://github.com/wernerkrauss
统计信息
- 总下载量: 1.31k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2018-10-04