You are here

flickr-photo.html.twig in Flickr 8

{% if photo %}
  <div{{attributes.addClass('flickr-photo', style_name)}} style="max-width: {{ width }}px;">
    <a href = '{{ photo_page_url }}' target='_blank'>
      {{ photo }}
    </a>

    {% if caption %}
      {{ caption_data }}
    {% endif %}
  </div>
{% endif %}

File

templates/flickr-photo.html.twig
View source
  1. {% if photo %}
  2. <div{{attributes.addClass('flickr-photo', style_name)}} style="max-width: {{ width }}px;">
  3. <a href = '{{ photo_page_url }}' target='_blank'>
  4. {{ photo }}
  5. </a>
  6. {% if caption %}
  7. {{ caption_data }}
  8. {% endif %}
  9. </div>
  10. {% endif %}