You can get the physical size of the file from the web server without downloading it but not the height/width of the image.

Regards,

--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
PrismAV - Virus scanning for ColdFusion applications
>>> Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm

  ----- Original Message -----
  From: Rick Root
  To: CF-Talk
  Sent: Tuesday, September 14, 2004 3:43 PM
  Subject: Determining the size of a remote image

  So, I've seen the image cfc that allows you to determine image size
  (among other things), but those images have to be local files.

  Is there anyway to retrieve an image via a URL and determine it's size
  WITHOUT reading the file in from the local file system?   I would just
  like to avoid a bunch of file IO, but I want to restrict the size, so
  that when people enter a remote URL to an image, it can't be any bigger
  than 100x100...

  Trying to avoid file I/O.

    - Rick
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to