you could probably also use myDynImage.getContentHeight() and
myDynImage.getContentWidth()
----- Original Message -----
From: "Cristian Grigoriu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 20, 2001 2:14 AM
Subject: [Dynapi-Help] DynImage dimensions
> Consider the example:
>
> myImg = DynImage.getImage('img/myimg.gif', 160, 50)
> img = new DynImage(myImg)
>
> Is there a way to retrieve the width and height of
> the image? I have read dynimage.js and I couldn't
> find a method/property. img.getWidth() or img.w or
> img.width don't work. I'm intrigued by the parameters
> passed to DynImage.getImage. Are they useful?
>
> Grig
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
---
Outgoing mail is certified Virus Free by AVG Free Edition
Download at: http://www.grisoft.com/html/us_index.cfm
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help