pass photo context to images