Hi
I'm trying to use photoswipe plugin and I don't get it right.
I'm making it as simple as the sample but I the swipe does not appear. Instead, when moving the mouse over image, I get a grey bar under the picture.
I think it's a very small stupid thing I do somewhere but I can't find it.
Could somebody help ? (may be @Karmalakas Karmalak ?)
attached the resulting html (you can see the grey stuff) and here is the piece of code :
{{ photoswipe('photoswipe-gallery', 'a') }}
<section class="carousel">
<ul class="carousel-items" id="photoswipe-gallery">
{% for child in p.collection %}
{% include 'partials/blog_item.simple.html.twig' with {'refpage':child, 'truncate':true} %}
{% endfor %}
</ul>
</section>
And in blog_item.simple.html.twig :
<li class="carousel-item" pageref="{{ refpage.url}}" href="{{ refpage.url}}">
<div class="card">
<a href="{{ refpage.media.images|first.url}}" data-size="2000x2000" class="gallery-item">
{{ refpage.media.images|first.cropResize(500,350).html(refpage.title ~ " : " ~ html_entity_decode(strip_tags (refpage.content|truncate(150))),refpage.title, 'imgCard img-fluid')}}
</a>
</div>
</li>
