{% set photos = item.html|get_gallery_photos %}
{% if photos %}
<gallery-swiper-carousel
:gallery-data="JSON.parse('{{ photos|json_encode|e('js') }}')"
></gallery-swiper-carousel>
{% endif %}