Expanded how many images are gathered by the images property. The code is a little messy, so it should be reviewed again at a later date, when it is not 2:30 in the morning