Tridi — Image array

This docs is for Tridi v1.x. Read Tridi v2 documentation or how to upgrade to version 2.x

Tridi offers an option to use custom arrays of image paths while initializing the container. To use this option, pass your image array to images property.



<div id="tridi-array"></div>


var imgArray = new Array(36)
  .map(function(item, index) {
    return '../images/white/' + ++index + '.jpg';

new Tridi({
  element: '#tridi-array',
  images: imgArray

« Back to main page