Plugin JavaScript Function showImageLink()

function module_class_name.showImageLink(
requests
)

Summary

This generates a link to your showImage() method.

Where You Can Use It

Anywhere in your JavaScript code in the front-end. From Zenario 7.0.6 onwards.

Parameters

requests

Either a request string, or an object with the requests as keys/values.

Return Value

A URL to call your showImage() method with the provided requests.

Example

plugin_class_name.showImageLink({id: 87, filename: 'logo.png'});