ImportImage (tablename, key, path)
ImportImage() loads an image file and attaches it to a transaction or item record.
tablename is “transaction” or “product”
key is the sequencenumber for a transaction or product code for a product
path is the filesystem path to the image file to import and attach to the record (a posix path on Mac).
The ImportImage function is available in MWScript in version 7.2 and later.