changed to take a stream instead of a photo path