Issuing with using the html_image in smarty
| From: | zia mohades | Date: | Thu, 28 Oct 2010 15:54:49 +0000 |
| Subject: | Issuing with using the html_image in smarty | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-30845@lists.php.net to get a copy of this message | ||
Dear all,
I have a small issue concerning the html_image.
I would like to display an image using the smarty tag as follows:
{html_image file='../../htdocs/images/temp.jpg'}
but I get the following error:
*Notice*: Smarty error: html_image: unable to find
'../../htdocs/images/temp.jpg' in *Smarty.class.php* on line *1102*
I have tried using
<img src="../../htdocs/images/temp.jpg"> within the smarty template and I am
still unable to view the image.
Just to let you know the image is accessible when I try using the link!
Any hints are highly appreciated!
best regards,