Added the legend, the number of images and labels are fixed but the content is dynamic. I still have to add the content.