templates/front/Produit/photos.html.twig line 1

Open in your IDE?
  1. {% set nbslides = slidesContent|length %}
  2. {% if nbslides > 0 %}
  3.     {% set media =  slidesContent[0] %}
  4.     <a role="button" data-toggle="modal" data-target="#{{ dialogId }}">
  5.         <div class="plus-de-photos-bloc sliderContent">
  6.             <img src="{{  vich_uploader_asset(media, 'imageFile')  | imagine_filter('product_thumbnail') }}" alt="{{ media.title }}" loading="lazy" />
  7.             <div class="plus-de-photos-opacity">
  8.                 <div class="col-md-12 plus-de-photo-txt-bloc">
  9.                     
  10.                     <div class="plus-de-photos-txt">+ {{ nbslides }}</div>
  11.                 </div>
  12.             </div>
  13.         </div>
  14.     </a>
  15. {% endif %}
  16. {% include "/front/Produit/splidePopup.html.twig"   with {'dialogId': dialogId }%}
  17. {#
  18. {% include "/front/Produit/sliderpopup.html.twig"   with {'dialogId': dialogId }%}
  19. #}