rezgui / bloggallery
Associate a Hounddd lightGallery to a blog post
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Type:winter-plugin
Requires
- composer/installers: ~1.0
This package is auto-updated.
Last update: 2025-02-08 02:51:05 UTC
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.Blog
php 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 }}