Add support for tag parameter in TagImageOptions.