trigger/gallery

Open a media gallery in the app

Fields

urls • [ string ] required

An array of image URLs you want to display in the gallery

indexnumber

The starting image index of the gallery


Tapcart.action("trigger/gallery", {
  "urls": [
    "https://example.com/image1.jpg",
    "https://example.com/image2.jpg",
    "https://example.com/image3.jpg"
  ],
	"index": 2
});