License & Export Getty Images
In most cases searching for and selecting an image to license is just the first step in your app's workflow.
By default, the Getty Images Library SDK downloads the licensed image. To change this behavior and to pass on a URL to some other part of your application you can use the
onConfirm config option.
onExportLicenseImage if you want to download the image and load it into the image editor, but not as a file to the user's browser.
The function returns the URL to the image for further processing within your application
onLicense if you want to license the image and return the URL, but not download it.
onClick will trigger the export event that can be used to save a serialization.
The serialization can be used to apply the edit operations performed by a user to other versions of the licensed image.
To prevent automatic download of the image on export, configure the image export options setting