include/Smarty/plugins/function.html_image.php

Show: inherited
    Table of Contents

    Smarty plugin

    Package
    Smarty  
    Subpackage
    plugins  

    Functions

    functionsmarty_function_html_image(  $params,  $smarty ) : string

    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:

    Parameters
    Name Type Description
    $params

    array

    $smarty

    Smarty

    Returns
    Type Description
    string
    Details
    Author
    Monte Ohrt  
    Author
    credits to Duda - wrote first image function in repository, helped with lots of functionality  
    Link
    {html_image} (Smarty online manual)  
    Uses
    \smarty_function_escape_special_chars()  
    Version
    1.0  
    Documentation was generated by DocBlox 0.18.1.