xlabs / imagegallerybundle
Frontend image gallery jQuery plugin
Installs: 626
Dependents: 1
Suggesters: 0
Security: 0
Type:symfony-bundle
pkg:composer/xlabs/imagegallerybundle
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