function<br>

Name: html_image<br> Date: Feb 24, 2003<br> Purpose: format HTML tags for the image<br> Input:<br>

  • file = file (and path) of image (required)
  • border = border width (optional, default 0)
  • height = image height (optional, default actual height)
  • image =image width (optional, default actual width)
  • basedir = base directory for absolute paths, default is environment variable DOCUMENT_ROOT

Examples: {html_image file=”images/masthead.gif”} Output: <img src=”images/masthead.gif” border=0 width=400 height=23> @link http://smarty.php.net- /manual- /en- /language.function.html.image.php {html_image} (Smarty online manual) @author Monte Ohrt mo.nosp@m.nte@ispi.nosp@m..net @author credits to Duda du.nosp@m.da@big.nosp@m..hu - wrote first image function in repository, helped with lots of functionality @version 1.0 @param array @param Smarty @return string @uses smarty_function_escape_special_chars()