                    style="background-image: url('{% url 'serve_thumbnail_image' id=images.0.image.id %}')">
                </div>
            </div>
            {% else %}
            <div class="image_frame" style="background-color:#eee">No images.</div>
            {% endif %}
            {% endwith %}
        </div>
        <div class="album_title">
            {{ album.title }}
        </div>
        <a href="{{ album.get_absolute_url }}"></a>
    </div>
{% empty %}
    No albums.
{% endfor %}
{% ends