[Zope] Images Properties

Martijn Pieters mj@antraciet.nl
Thu, 05 Aug 1999 10:34:55 +0200


At 01:23 05/08/99 , Michael Fox wrote:
>Hi,
>
>I am running Zope-1_10_3-win32-x86.
>
>Image properties eg. width and height are defined when I upload images.
>
>Yet when I code: <!--#var MyImage--> I get errors. Is this because all
>my images live in a sub-directory called "Images"?
>
>Mike

Right, yes...

You made it sound like you did get the IMG tag, but without width and 
height attributes. You didn't say you got errors! =).

If they are ina subfolder, you can't directly see them, no. But you can 
'switch' into the namespace of the subfolder with the with tag:

<!--#with Images--><!--#var MyImage--><!--#with-->


--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------