Adding method to specify array of URLs for the photos