templates/default/gallery_renderlet.html.twig line 7

Open in your IDE?
  1. <section class="row">
  2.     {% if asset %}
  3.             {% for image in asset.getChildren() %}
  4.                 {% if image is instanceof('\\Pimcore\\Model\\Asset\\Image') %}
  5.                     <div class="col-md-4">
  6.                         <a href="{{ image.getThumbnail('galleryLightbox')|raw }}" class="thumbnail">
  7.                             {{ image.getThumbnail('galleryThumbnail').getHTML({imgAttributes: {class: 'img-thumbnail img-responsive'}})|raw }}
  8.                         </a>
  9.                     </div>
  10.                 {% endif %}
  11.             {% endfor %}
  12.     {% endif %}
  13. </section>