add a local 'replace value' plugin and function, working with most image types