Procedural File: function.html_image.php

Source Location: /smarty/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)
  • 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>

Tags:

Parameters

  • array $params -
  • Smarty &$smarty -

[ Top ]


Documentation generated on Tue, 26 May 2009 14:50:34 -0700 by phpDocumentor 1.4.1