Skip to content

rezgui/wn-bloggallery-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog + Hounddd lightGallery for WinterCMS

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

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

  1. Create your gallery on Hounddd lightGallery plugin
  2. Create or edit a blog post
  3. Goto "Manage" tab
  4. 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 }}

About

Blog + RJ Gallery for WinterCMS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%