RE: [SMARTY-DEV] html_image width and height
| From: | Monte Ohrt | Date: | Thu, 06 Mar 2003 22:22:47 +0000 |
| Subject: | RE: [SMARTY-DEV] html_image width and height | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-910@lists.php.net to get a copy of this message | ||
Actually it can be a file or path/file:
{image name="path/to/foo.jpg"}
so change to file? any other votes? :-)
Monte
On Thu, 2003-03-06 at 16:05, Gerard wrote:
> >
> > On Thu, 2003-03-06 at 15:46, Gerard wrote:
> > > How about an ALT param? :)
> >
> > Any parameter you pass that is unrecognized should get passed right
> > through. Try it:
> >
> > {image file="foo.jpg" alt="yes, it is foo"}
>
> Just figured that out ;). One other thing - in the docs and the
> implementation it's "name" rather than file. I like "file" better.
>
>
> Gerard
--
Monte Ohrt <monte@ispi.net>