change ImageGenerator to ImageConversion
remove same photo before saving