Re: Html_image- image not displayed
| From: | messju mohr | Date: | Thu, 15 Jan 2004 14:51:22 +0000 |
| Subject: | Re: Html_image- image not displayed | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10823@lists.php.net to get a copy of this message | ||
On Thu, Jan 15, 2004 at 02:34:20PM +0100, Andreas Goetz wrote:
> I'm using html_image to display images that are either in local fs because
> they're cached, or on the web. In this case the file is
> http://... E.g.
> {html_image
> file="http://www.heise.de/icons/ho/heise.gif"}
>
> These images are not displayed by html_image if no width/height parameters
> are given. In my opinion, if width/ height can't be determined, SMARTY
> should create a simple img tag, not neglect the images.
Since width and height are optional according to the
html-specification I think this is a good idea.
> Thanks,
> Andi