Ionic slides zoom


#1

Hi,

the zoom does not work, I activate with
zoom=true. Don’t understand why, please help

<ion-header>
  <ion-navbar>
    <ion-title>My images</ion-title>
  </ion-navbar>
</ion-header>

<ion-content>
  <ion-slides zoom="true">
    <ion-slide>
      <div class="swiper-zoom-container" >
        <img src="assets/XXX.svg" style="width: 100vw !important;">
      </div>
    </ion-slide>
    <ion-slide>
      <div class="swiper-zoom-container">
        <img src="assets/XXX.svg" style="width: 100vw !important;">
      </div>
    </ion-slide>
    <ion-slide>
      <div class="swiper-zoom-container">
        <img src="assets/XXX.svg" style="width: 100vw !important;">
      </div>
    </ion-slide>
    </ion-slides>
</ion-content>

#2

https://devdactic.com/ionic-image-gallery-zoom/

This helped me set up an image gallery with zoom. ionic-img-viewer and imageViewer are a couple of terms to look for there