add URI parse to photos