{% load i18n wise_icons %} {% comment %} An image gallery: one large, swipeable image, clickable thumbnails beneath it on tablet and desktop (a rail beside it on large screens with thumbnail_position "start"), and page-indicator dots in their place on a phone. Renders the `gallery` dict built by `wise_core.mixins. WiseImageGalleryMixin` (or `wise_core.gallery.build_image_gallery`): {% include 'wise_core/components/_image_gallery.html' %} {% include 'wise_core/components/_image_gallery.html' with gallery=variant_gallery %} Without JavaScript the thumbnails still work - they are anchors to the slides' ids - and the stage still swipes; common.js adds the smooth jump, keeps the selected thumbnail and dot in step, and the arrow keys. {% endcomment %}