xlabs / imagegallerybundle
Frontend image gallery jQuery plugin
1.0.12
2018-10-30 08:57 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