edited photo code