Takes in an array of image data and displays the images in a responsive, randomly generated div width system based on the number of images per row and max row width