Plugin Link/Path/URL Function showImageLink()

public final function showImageLink(
$requests
)

Description

This generates a link to your showImage() method.

Where You Can Use It

Can be used from within any method. From Zenario 7.0.0 onwards.

Parameters

$requests

Any GET requests you wish to make. Should be in the format:

request1=value&request2=value

Return Value

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

Example

$this->mergeFields['Image_Src'] = $this->showImageLink('imageId=42');
<img src="<!--Image_Src-->" alt="<!--_ALT_TEXT-->"/>