API16

API16:JHtmlImage

From Joomla! Documentation

Defined in

libraries/joomla/html/html/image.php

Methods

Method name Description
site Checks to see if an image exists in the current templates image directory. If it does it loads this image. Otherwise the default image is loaded. Also can be used in conjunction with the menulist param to create the chosen image load the default or use no image.
administrator Checks to see if an image exists in the current templates image directory if it does it loads this image. Otherwise the default image is loaded. Also can be used in conjunction with the menulist param to create the chosen image load the default or use no image

Importing

jimport( 'joomla.html.html.image' );



Examples

Code Examples