flickr-photo-colorbox.html.twig in Flickr 8
{% if photo %}
<div{{attributes.addClass('flickr-photo', style_name)}} style="max-width: {{ width }}px;">
<a href = '{{ photo_image_large }}' class="colorbox" {% if parent %} data-colorbox-gallery="flickr-{{ parent }}" {% endif %}>
{{ photo }}
</a>
{% if caption %}
{{ caption_data }}
{% endif %}
</div>
{% endif %}
File
modules/flickr_colorbox/templates/flickr-photo-colorbox.html.twig
View source
- {% if photo %}
- <div{{attributes.addClass('flickr-photo', style_name)}} style="max-width: {{ width }}px;">
- <a href = '{{ photo_image_large }}' class="colorbox" {% if parent %} data-colorbox-gallery="flickr-{{ parent }}" {% endif %}>
- {{ photo }}
- </a>
-
- {% if caption %}
- {{ caption_data }}
- {% endif %}
- </div>
- {% endif %}