Java:

imageFile = createObject("java", "java.io.File").init(path & "\" & name);
imageio = createObject("java", "javax.imageio.ImageIO");

img = imageio.read(imageFile);

img.getWidth();

img.getHeight();

There you go.

Mark

On 10/30/06, Snake <[EMAIL PROTECTED]> wrote:
> Document.images["imagename"].height
> Document.images["imagename"].width
>
> --
> Snake
>
> -----Original Message-----
> From: Claude Schneegans [mailto:[EMAIL PROTECTED]
> Sent: 29 October 2006 18:42
> To: CF-Talk
> Subject: Re: Get imagesize
>
>  >>You can get it from JS on the client side.
>
> Just curious how you would do that?
>
> --
> _______________________________________
> REUSE CODE! Use custom tags;
> See http://www.contentbox.com/claude/customtags/tagstore.cfm
> (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258404
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to