Tweak image rewrite config.