{% load i18n %}
{% load tagging_tags %}
{% load threadedcommentstags %}

<h2>{% trans "Photos" %}</h2>

    {% if owner.added_photos.all %}
        <div class="clearfix">
        {% for photo in owner.added_photos.all %}
            <div class="gallery-photo-thumb">
                <a href="/photos/details/{{ photo.id }}/"><img src="{{ photo.get_thumbnail_url }}" alt="{{ photo.title }}"/></a>
            </div>
        {% endfor %}
        </div>
    {% else %}
       {% trans "No photos uploaded yet." %}
    {% endif %}

