Download the PHP package hounddd/wn-lightgallery-plugin without Composer

On this page you can find all versions of the php package hounddd/wn-lightgallery-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wn-lightgallery-plugin

LightGallery Plugin for Winter

Create stunning images and videos galleries for your WinterCMS website in minutes. Responsive, touch-friendly, and easy to use.


This plugin use lightGallery script v2.4.0.


Features

lightGallery script features

Installation

Let assume you're in the root of your wintercms installation

Using composer

Just run this command

Clone

Clone this repo into your winter plugins folder.

Note: Run php artisan winter:up command Add {% styles %} and {% scripts %} placeholders in your layout or page <header> tag, if it is not already the case.

Components

This plugin offer 2 components and 1 static page snippet.

Galleries list

Use the galleryList component to display a list of latest galleries on a page. The component has the following properties:

The galleryList component injects the following variables to the page where it's used:

The component supports pagination and reads the current page index from the :page URL parameter. The next example shows the basic component usage:

The next example shows the basic component usage with the category filter:

The galleries and the pagination are coded in the default component partial plugins/hounddd/lightgallery/components/galleries/default.htm. If the default markup is not suitable for your website, feel free to copy it from the default partial and replace the {% component %} call in the example above with the partial contents.

Gallery (by slug)

Use the gallerySlug component to display a gallery on a page. The component has the following properties:

The gallerySlug component injects the following variables to the page where it's used:

The next example shows the basic component usage on the gallery page:

The gallery details are coded in the component partials wich are shared between gallerySlug component and galleryId page snippet.

Blocks

This plugin provides a block compatible with the Winter.blocks plugin.

Block lightgallery_gallery

This block provide a simple way to add an images gallery to your content.

Property Type Description
gallery Integer Gallery ID to display
maxImages Integer Number of images per gallery between 2, 4 or 6.
Default: '4'

Notes

🔑 Licence key

If you want to use lightGallery to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. With this option, your source code is kept proprietary. Read more about the commercial license

🏆 Credits

This plugin is inspired by rjchauhan / RJGallery-for-OctoberCMS of which it can be a replacement*. Besides the removal of jQuery from the dependencies, it brings some new features compared to the source plugin:

* It may have some breaking changes as the component Gallery doesn't exist anymore.


Make awesome sites with ❄ WinterCMS!


All versions of wn-lightgallery-plugin with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
composer/installers Version ~1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hounddd/wn-lightgallery-plugin contains the following files

Loading the files please wait ....