2 {% if cell.title %}<h3>{{ cell.title }}</h3>{% endif %}
3 <div class="gallery" id="gallery-{{cell.id}}">
4 {% for image in cell.image_set.all %}
6 <div class="first" style="display: none;">
8 <span class="gallery-legend"></span>
12 {% thumbnail image.image "400x400" crop="50% 50%" as im %}
13 {% thumbnail image.image "1000x600" crop="50% 25%" as im_large %}
14 <span class="image" data-image-large="{{ im_large.url }}"><img src="{{ im.url }}"
15 {% if image.title %}title="{{image.title}}"{% endif %}>
16 {% if image.title %}<span class="title">{{image.title}}</span>{% endif %}</span>