Rename 'imagesData' to 'images' and make it an array