May I know what's the proper way to use JHTMLImage? The wiki reference is a bit confusing.
One of the example is with the following code:
Code: Select all
echo JHTML::_( 'image.site', 'edit.png', '/images/M_images/', 'save.png', '/images/', 'Save' );
Code: Select all
<img src="images/save.png" alt="Save" align="top" border="0" />
Code: Select all
echo JHTML::_( 'image.site', 'edit.png', '/images/M_images/', 'hulloworld.gif', '/images/hullo/', 'hullo world');
Code: Select all
<img src="images/hullo/'hulloworld.gif" alt="hullo world" align="top" border="0" />
Thanks in advance!