Function to add new photos
Changed to view