JS Image Downloader

JS Image Downloader (ODC)

Stable version 0.1.1 (Compatible with ODC)
Uploaded on 08 November 2022 by Product League
JS Image Downloader

JS Image Downloader (ODC)

Documentation
0.1.1

To use the component, call its "StartImageDownload" client action, passing in the following parameters:

  • ImageURL: URL of the image to be downloaded.
  • Callback: A JavaScript object containing the callback action to be called once the image download is complete. The action must have 2 input parameters:
    • Text data type: This parameter will receive the value passed to this action's "JSON" input parameter.
    • Binary Data data type: This parameter will contain the downloaded image.
  • JSON: Eventual additional parameters that you might need in order to process the image. This can be a structure serialized to a JSON string.

In order to obtain the Callback object, you need to use a JavaScript node in your flow: