photos-6.0.x-dev/templates/legacy/photos_image_html.html.twig
templates/legacy/photos_image_html.html.twig
{#
/**
* @file
* Photos image wrapper.
*/
#}
{% if image.href is empty %}
{{ image.view }}
{% else %}
<div class="photos-image-html">
<a href="{{ image.href }}">{{ image.view }}</a>
{% if image.colorbox %}
{# // @todo original image link. #}
<a class="photos-image-html-colorbox colorbox" rel="colorbox_{{ image.album_id }}" href="{{ image.uri }}" title="{{ title }}">
view original
</a>
{% endif %}
</div>
{% endif %}
