[ZWeb] Image Properties Error
Paolo D'Aubert
pdaubert@enter.it
Mon, 18 Mar 2002 12:15:29 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_000B_01C1CE76.97C9EBA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi All, I have a little big problem to get image width and height.
I have a Mysql Db where I store all the names of the images.
I get the names from the query as my_image
how to get width and height???
'cause if I get <dtml-var "my_image.height"> I got an error...
I tryed many different things like <dtml-var "['my_image'].height">, =
<dtml-var "_.['my_image'].height">
but doesnt works...
Any IDeas??
Thank!!!
------=_NextPart_000_000B_01C1CE76.97C9EBA0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi All, I have a little big problem to =
get image=20
width and height.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have a Mysql Db where I store all the =
names of=20
the images.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I get the names from the query as=20
my_image</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>how to get width and =
height???</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>'cause if I get <dtml-var =
"my_image.height">=20
I got an error...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I tryed many different things =
like =20
<dtml-var "['my_image'].height">, <dtml-var=20
"_.['my_image'].height"></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>but doesnt works...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Any IDeas??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thank!!!</FONT></DIV></BODY></HTML>
------=_NextPart_000_000B_01C1CE76.97C9EBA0--