The imagefile template operator
Registered in lib/eztemplate/classes/eztemplateautoload.php by the class eZTemplateImageOperator (lib/eztemplate/classes/eztemplateimageoperator.php).
The same class also registers: texttoimage, image.
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
filename | string | yes | |
options | array | no | array() |
The operator takes no input: it is called on its own, not after |.
Example
Built from the parameter list above; the values are placeholders (the operator's template hints decide whether it takes an input).
imagefile( 'filename', array() )Related
Generated by ./console exp:help:examples from lib/eztemplate/classes/eztemplateautoload.php, lib/eztemplate/classes/eztemplateimageoperator.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.