add properties to fetch the array of images and the current index