Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Simple Gallery Bundle Laravel Package

c33s/simple-gallery-bundle

View on GitHub
Deep Wiki
Context7

SimpleSimpleGalleryBundle

Simple drop-in propel / admingenerator galleries for Symfony2

THIS IS WORK IN PROGRESS! USE AT YOUR OWN RISK!

Quickdocs

  • install
  • add to appkernel
  • enable admingenerator

fixtures.yml:

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:

simple example

<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:

$(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 %}'
 });
});
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware