Product Gallery Widget Example

An example of images and video

by sambrace

HTML

<script type="text/javascript" src="https://product-gallery.cloudinary.com/all.js"></script>

<div class="my-gallery" id="my-gallery"></div>

<script>
  cloudinary.galleryWidget({
        container: "#my-gallery",
        cloudName: "demo",
        mediaAssets: [{
            publicId: "car-3d",
            mediaType: "3d"
          },
          {
            tag: "car-parts-3d",
            mediaType: "3d"
          }
        ],
        .render();

</script>