/libs/plugins/function.html_image.php

Description

Smarty plugin

Functions
smarty_function_html_image (line 37)

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: <img src="/images/masthead.gif" width=400 height=23>
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)

string smarty_function_html_image (array $params, Smarty_Internal_Template $template)

Documentation generated on Sat, 24 Sep 2011 20:23:12 +0200 by phpDocumentor 1.4.1