{% set nbslides = slidesContent|length %}
{% if nbslides > 0 %}
{% set media = slidesContent[0] %}
<a role="button" data-toggle="modal" data-target="#{{ dialogId }}">
<div class="plus-de-photos-bloc sliderContent">
<img src="{{ vich_uploader_asset(media, 'imageFile') | imagine_filter('product_thumbnail') }}" alt="{{ media.title }}" loading="lazy" />
<div class="plus-de-photos-opacity">
<div class="col-md-12 plus-de-photo-txt-bloc">
<div class="plus-de-photos-txt">+ {{ nbslides }}</div>
</div>
</div>
</div>
</a>
{% endif %}
{% include "/front/Produit/splidePopup.html.twig" with {'dialogId': dialogId }%}
{#
{% include "/front/Produit/sliderpopup.html.twig" with {'dialogId': dialogId }%}
#}