[eluser]Thorpe Obazee[/eluser]
the prototype is
Code:
img('images/picture.jpg');
or if you want to have 'alt', use:
Code:
$image_properties = array(
'src' => 'images/picture.jpg',
'alt' => 'Me, demonstrating how to eat 4 slices of pizza at one time',
'class' => 'post_images',
'width' => '200',
'height' => '200',
'title' => 'That was quite a night',
'rel' => 'lightbox',
);
img($image_properties);
with the alt property being, 'Me, demonstrating how to eat 4 slices of pizza at one time'.