sizes paths of photo are now taken from the JSON