1. tehfink
  2. cmsplugin-photologue

Source

cmsplugin-photologue / cmsplugin_photologue / templates / plugins / cmsplugin_photologue / photologue_gallery.html

The cms-2.X branch has multiple heads


    <div class="photo-gallery{% if css %} {{ css }}{% endif %}">

        <h2><a href="{{ gallery.get_absolute_url }}">{{ gallery.title }}</a></h2>

        {% for photo in gallery.sample|slice:sample_size %}

        <div class="gallery-photo">

            <a href="{{ photo.get_absolute_url }}"><img src="{{ photo.get_thumbnail_url }}" alt="{{ photo.title }}"/></a>

        </div>

        {% endfor %}

    </div>