set up for photo serving