showImageLink()
function module_class_name.showImageLink(requests)
This generates a link to your showImage() method.
Anywhere in your JavaScript code in the front-end. From Zenario 7.0.6 onwards.
requests
Either a request string, or an object with the requests as keys/values.
A URL to call your showImage() method with the provided requests.
plugin_class_name.showImageLink({id: 87, filename: 'logo.png'});