image-previewer
Reactive icon

Image Previewer

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 28 Jan (3 days ago)
 by 
0.0
 (0 ratings)
image-previewer

Image Previewer

Documentation
1.0.0

Image Previewer Component Documentation

The Image Viewer is a simple client-side component built using JavaScript. It allows users to view images encoded in base64 or binary format by opening them in a new browser tab. This component takes a base64 string or binary data as input, converts it to an image, and displays it in a newly opened tab. It's useful for developers needing to quickly visualize base64 or binary images without saving them to disk.


Actions


1. ImagePreviewer_Binary

Description: Allows users to view a binary image by opening it in a new browser tab.

Input:

  • binary: A binary data object representing the image.

Output:

  • Opens a new browser tab displaying the image.


2. ImagePreviewer_Base64

Description:Allows users to view a base64 encoded image by opening it in a new browser tab.

Input:

  • base64: A string containing the base64 encoded image data.

Output:

  • Opens a new browser tab displaying the image.


Error Handling

If the image data (base64 or binary) is not provided as input, an exception is raised with the required error message.