Apply imageReplace when replacing images, in tool UI