Support Joomla!

new:moshtml-image

Usage of moshtml::image

1. Function description

This function will write a <img></img> element

2. Function usage

2.1. Example

Example Code

$attribs = array('class' => 'main');
echo mosHTML::link('images/stories/articles.jpg', 'Articles', $attribs);
2.2. Parameters

url : string : the url to your image
alt : string : alternative image text
attribs : array : the attributes that you wish to apply to your image

Back to the Startpage

 
new/moshtml-image.txt (1484 views) · Last modified: 2007/07/12 10:14