2017 © Pedro Peláez
 

symfony-bundle simple-gallery-bundle

Simple drop-in propel / admingenerator galleries for Symfony2

image

c33s/simple-gallery-bundle

Simple drop-in propel / admingenerator galleries for Symfony2

  • Monday, May 25, 2015
  • by vworldat
  • Repository
  • 1 Watchers
  • 0 Stars
  • 29 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

SimpleSimpleGalleryBundle

Simple drop-in propel / admingenerator galleries for Symfony2, (*1)

THIS IS WORK IN PROGRESS! USE AT YOUR OWN RISK!, (*2)

Quickdocs

  • install
  • add to appkernel
  • enable admingenerator

fixtures.yml:, (*3)

C33s\SimpleGalleryBundle\Model\Gallery:
    background:
        title:                      Background
        slug:                       background
        is_listed:                  false
        ImagesLoadFromDirectory:    app/propel/attachments/Gallery/background
        ImageFilePath:              app/propel/attachments/Gallery/background/gallery-avatar.jpg

twig:, (*4)

simple example, (*5)

<ul>
{% for item in single_gallery('GallerySlug').galleryItems %}
    <li><img src="{{ item.image|att_url('liip_imagine_filter_name') }}"></li>
{% endfor %}
</ul>

example with vegas slider:, (*6)

$(function() {
    $.vegas('slideshow', {
  delay: 5000,
  backgrounds: [{% spaceless %}
   {% for item in single_gallery('background').galleryItems %}
    { src: '{{ item.image|att_url('header') }}', fade: 1000 }{% if not loop.last %},{% endif %}
   {% endfor %}
  {% endspaceless %}]
    })('overlay', {
     src: '{% image 'media/components/vegas/dist/overlays/06.png' %}{{ asset_url }}{% endimage %}'
 });
});

The Versions

25/05 2015

dev-master

9999999-dev https://github.com/vworldat/SimpleGalleryBundle

Simple drop-in propel / admingenerator galleries for Symfony2

  Sources   Download

MIT

The Requires

 

25/05 2015

v0.2.1

0.2.1.0 https://github.com/vworldat/SimpleGalleryBundle

Simple drop-in propel / admingenerator galleries for Symfony2

  Sources   Download

MIT

The Requires

 

24/05 2015

v0.2.0

0.2.0.0 https://github.com/vworldat/SimpleGalleryBundle

Simple drop-in propel / admingenerator galleries for Symfony2

  Sources   Download

MIT

The Requires

 

08/04 2015
18/10 2014
20/08 2014