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
Input:
- file = file (and path) of image (required) - height = image height (optional,
default actual height) - width = image width (optional, default actual width) -
basedir = base directory for absolute paths, default is environment variable
DOCUMENT_ROOT - path_prefix = prefix for path output (optional, default
empty)
Examples: {html_image file="/images/masthead.gif"} Output: <img src="/images/masthead.gif" width=400 height=23>
Package: Smarty\plugins
Author: Monte Ohrt <monte at ohrt dot com>
Author: credits to Duda <duda@big.hu> - wrote first image function in repository, helped with lots of functionality
Version: 1.0
Uses:
Link: {html_image} (Smarty online manual)
Located at xoops_trust_path/libs/smarty/plugins/function.html_image.php
Author: Monte Ohrt <monte at ohrt dot com>
Author: credits to Duda <duda@big.hu> - wrote first image function in repository, helped with lots of functionality
Version: 1.0
Uses:
smarty_function_escape_special_chars()
Link: {html_image} (Smarty online manual)
Located at xoops_trust_path/libs/smarty/plugins/function.html_image.php
array
|
$params |
|
|
& $smarty |
string
|