Source

django-swingcms / swingcms / cms / templates / cms / preview_image.html

{% load i18n %}	



<div id='preview_image'>

    <div id='obj_header'>
        {% if c.title %}
            <h4>{{ c.title }}</h4>
        {% endif %}
    </div>

    <div class='thumb'>
        <a class='fancybox' title='{{ c.title }}' href='{{ c.image.url }}'><img src='{{ c.image_thumb.url }}' alt='{{ c.name }}'/></a><br />
    </div>

    <div id='obj_footer'>
        <div class='read_more'><a href='/view/image/{{ c.id }}'>{% trans 'read more' %}</a></div>
    </div>

</div>