example: {{ content.image|popup(320, 240) }}
example: {{ popup(content.image, 320, 240) }}
example: {{ content.image|popup(width=320, height=240, title="My Image") }}
public popup ( string | array $fileName = null, integer $width = null, integer $height = null, string $crop = null, string $title = null ) : string | ||
$fileName | string | array | Image file name |
$width | integer | Image width |
$height | integer | Image height |
$crop | string | Crop image string identifier |
$title | string | Display title for image |
Результат | string | HTML output |