string$file The relative or absolute URL to use for the src attribute.
string$alt The alt text.
array|string$attribs Attributes to be added to the `<img>` element
bool$relative Flag if the path to the file is relative to the /media folder (and searches in template).
int$returnPath Defines the return value for the method:
-1: Returns a `<img>` tag without looking for relative files
0: Returns a `<img>` tag while searching for relative files
1: Returns the file path to the image while searching for relative files
Returns
string|null HTML markup for the image, relative path to the image, or null if path is to be returned but image is not found
mixed$title The title of the tooltip or an associative array with keys contained in
{'title','image','text','href','alt'} and values corresponding to parameters of the same name.
string$image The image for the tip, if no text is provided.
string$text The text for the tip.
string$href A URL that will be used to create the link.
mixed$attribs Additional HTML attributes
The array can have the following keys:
readonly Sets the readonly parameter for the input tag
disabled Sets the disabled parameter for the input tag
autofocus Sets the autofocus parameter for the input tag
autocomplete Sets the autocomplete parameter for the input tag
filter Sets the filter for the input tag