Function smarty_function_html_image
Smarty {html_image} function plugin
Type: function
Name: html_image
Date: Feb 24, 2003
Purpose: format HTML tags for the image
Examples: {html_image file="/images/masthead.gif"}
Output:
Params:
- file - (required) - file (and path) of image - height - (optional) - image height (default actual height) - width - (optional) - image width (default actual width) - basedir - (optional) - base directory for absolute paths, default is environment variable DOCUMENT_ROOT - path_prefix - prefix for path output (optional, default empty)
Package: Smarty\PluginsFunction
Author: Monte Ohrt
Author: credits to Duda duda@big.hu
Version: 1.0
Uses:
Link: {html_image} (Smarty online manual)
Located at plugins/smarty/smarty_source/plugins/function.html_image.php
Author: Monte Ohrt
Author: credits to Duda duda@big.hu
Version: 1.0
Uses:
smarty_function_escape_special_chars()
Link: {html_image} (Smarty online manual)
Located at plugins/smarty/smarty_source/plugins/function.html_image.php
array |
$params |
parameters |
|
$template |
template object |
string
|
string |
|
SmartyException |