You are here

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
  1. {% if photo %}
  2. <div{{attributes.addClass('flickr-photo', style_name)}} style="max-width: {{ width }}px;">
  3. <a href = '{{ photo_image_large }}' class="colorbox" {% if parent %} data-colorbox-gallery="flickr-{{ parent }}" {% endif %}>
  4. {{ photo }}
  5. </a>
  6. {% if caption %}
  7. {{ caption_data }}
  8. {% endif %}
  9. </div>
  10. {% endif %}