To make the product images scrollable as a carousel on mobile after clicking the magnifying glass (zoom) in the Dawn theme, follow these steps — no app needed:
Use media-gallery and media-modal properly in your product template: Replace your custom setup with Shopify’s built-in {{ media | media_tag }} inside a loop over product.media.
Enable the modal carousel by editing media-modal.liquid and wrapping media in .swiper-container and .swiper-wrapper classes.
Initialize Swiper.js in your theme’s JS file (theme.js or global.js):
document.addEventListener('DOMContentLoaded', function () {
const modal = document.querySelector('.media-modal__carousel.swiper-container');
if (modal) {
new Swiper(modal, {
loop: true,
slidesPerView: 1,
spaceBetween: 10,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
});
}
});
Include Swiper.js in your theme if it’s not already there (CDN or local).
This will give you swipeable images inside the zoom modal on mobile. Let me know if you need help updating your code.
Totally understand — no worries at all! Feel free to reach out using the contact info in my signature below. I can assist with implementing the code step by step, so you get swipeable images inside the zoom modal on mobile.