Image renaming. Preparation