templates/areas/gallery-single-images/view.html.twig line 9

Open in your IDE?
  1. {% import 'includes/macros.html.twig' as macros %}
  2. <section class="area-gallery-single-images {{ ( not editmode ? 'row':'') }}">
  3.         {% for i in pimcore_iterate_block(pimcore_block('gallery')) %}
  4.                 {% if editmode %}
  5.                         {{ pimcore_image('image', { thumbnail: 'galleryThumbnail', imgAttributes: {class: 'img-thumbnail'}}) }}
  6.                 {% else %}
  7.                         <div class="col-md-4">
  8.                                 {{ macros.image_link(pimcore_image('image', { thumbnail: 'galleryThumbnail', imgAttributes: {class: 'img-thumbnail'}}), editmode, 'galleryLightbox') }}
  9.                          </div>
  10.                 {% endif %}
  11.         {% endfor %}
  12. </section>