rezgui/bloggallery
Composer 安装命令:
composer require rezgui/bloggallery
包简介
Associate a Hounddd lightGallery to a blog post
README 文档
README
Introduction
Inspired from skydiver/october-plugin-bloggallery, This plugin associates a "RJ Gallery" to a Blog plugin post.
You will be able to work with the gallery from the blogPost component.
Requirements
- Blog (Winter.Blog)
- Hounddd lightGallery (Hounddd.lightGallery)
Installation
- Install dependencies:
php artisan plugin:install Winter.Blogphp artisan plugin:install Hounddd.lightGallery
- Install the plugin:
php artisan plugin:install Rezgui.BlogGallery
Use
- Create your gallery on Hounddd lightGallery plugin
- Create or edit a blog post
- Goto "Manage" tab
- Select a gallery
Display gallery on post page
You can insert the Hounddd lightGallery component inside your blogPost component html like this:
{% component 'gallery' gallery=post.lightgallery %}
Access gallery object
- Get gallery info:
{{ post.lightGallery }}
- Get gallery images
{{ post.lightGallery.images }}
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-07