Add categories to photos