xlabs/imagegallerybundle

Frontend image gallery jQuery plugin

Installs: 619

Dependents: 1

Suggesters: 0

Security: 0

Type:symfony-bundle

1.0.12 2018-10-30 08:57 UTC

This package is auto-updated.

Last update: 2024-11-06 10:28:55 UTC


README

Frontend image gallery jQuery plugin

Installation

Install through composer:

php -d memory_limit=-1 composer.phar require xlabs/imagegallerybundle

In your AppKernel

public function registerbundles()
{
    return [
    	...
    	...
    	new XLabs\ImageGalleryBundle\XLabsImageGalleryBundle(),
    ];
}

Install assets

php app/console assets:install --symlink

Usage

Append this anywhere in you template

<link rel="stylesheet" type="text/css" href="{{ asset('bundles/xlabsimagegallery/xlabs.imagegallery.css') }}" />
<script type="text/javascript" src="{{ asset('bundles/xlabsimagegallery/xlabs.fullscreen.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/xlabsimagegallery/xlabs.imagegallery.js') }}"></script>

Check example file to see how it works:

bundles/xlabsimagegallery/index.html