Source

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

Full commit
<figure class="{% ifequal display_mode '6' %}thumbnail {% else %} photo {% endifequal %} {% if css %}{{ css }}{% endif %}">
	{% if link %}<a href="{{ link }}" title="{{ title|title }}">{% endif %}
        {% ifequal display_mode '0' %}    
            <img src="{{ photo.get_desktop_big_normal_url }}" alt="{{ title }}" />
        {% endifequal %}
        {% ifequal display_mode '1' %}    
            <img src="{{ photo.get_desktop_big_wide_url }}" alt="{{ title }}" />
        {% endifequal %}
        {% ifequal display_mode '2' %}    
            <img src="{{ photo.get_desktop_big_square_url }}" alt="{{ title }}" />
        {% endifequal %}
        {% ifequal display_mode '3' %}    
            <img src="{{ photo.get_desktop_display_normal_url }}" alt="{{ title }}" />
        {% endifequal %}
        {% ifequal display_mode '4' %}    
            <img src="{{ photo.get_desktop_display_wide_url }}" alt="{{ title }}" />
        {% endifequal %}
        {% ifequal display_mode '5' %}    
            <img src="{{ photo.get_desktop_display_square_url }}" alt="{{ title }}" />
        {% endifequal %}
        {% ifequal display_mode '6' %}    
            <img src="{{ photo.get_desktop_display_thumb_url }}" alt="{{ title }}" />
        {% endifequal %}
    {% endif %}
	{% if link %}</a>{% endif %}
{% if photo.title or photo.caption %}<figcaption><strong>{{ title }} </strong>{% if description %}, {{ description }}{% endif %}</figcaption>{% endif %}
</figure>