Change image rename method