Setting up the pipeline for photos