add image helpers to mailcap