Procedural File: function.html_image.php

Source Location: /PEAR/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/function.html_image.php



Classes:

Page Details:

Smarty plugin





smarty_function_html_image

string smarty_function_html_image( array $params, Smarty &$smarty)

[line 37]

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)
  • 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>

Tags:

Parameters

  • array $params -
  • Smarty &$smarty -

[ Top ]


Documentation generated on Sun, 30 Mar 2008 23:05:19 -0500 by phpDocumentor 1.4.2