This is fantastic and works. Thanks so much for your help. I've spent hours
unsuccessfully on this.
Graham Bates <[EMAIL PROTECTED]> wrote: i have used this with success but note
that the image has to be
available via http
imgObj = CreateObject("java",
"java.awt.image.BufferedImage");
imgRdr = CreateObject("java",
"javax.imageio.ImageIO");
f = CreateObject("java",
"java.net.URL").init("http://www.foo.com/bar.jpg");
imgObj = imgRdr.read(f);
imageWidth = imgObj.getWidth();
imageHeight = imgObj.getHeight();
-----Original Message-----
From: cf-talk [mailto:[EMAIL PROTECTED]
Sent: 03 March 2008 04:00
To: cf-talk
Subject: ColdFusion Talk (CF-Talk): Digest every hour
ColdFusion Talk (CF-Talk) 02-Mar-08 Issue:9276
In this issue:
Ability to obtain the width & height of an Image given a URL to the
image
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300327
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4