SharinPix DocumentationMain DocumentationSharinPix features - Download imagesPersonalized image download with annotations (Developer-Oriented)

Personalized image download with annotations (Developer-Oriented)

The present article will show how it is possible to create a custom hyperlink  that will download the image along with its corresponding annotations.

Info: The Visualforce Page and Apex Class used in the present article can be found on GitHub by following this link: https://github.com/SharinPix/demo-apex/tree/custom-annotation-download

  • In the current context, the Visualforce Page is launched from a custom lightning action found on the record page of the Contact object. The screenshot below describes the custom lightning action being executed.
  • Upon clicking on an image's thumbnail, the Download Image hyperlink appears.
  • When clicking on the Download Image hyperlink, the image which is currently being  viewed is downloaded along with its annotations.

For the example to work, the image to be downloaded must already possess one or more annotations.

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.