changed file format of photo