If you'd like to see CF_ImageSize in action, go to www.countrytraditions.com
and see it there. I used imagesize to tell the catalog how wide the image
is. For images under 350 pixels wide, it puts the image on the left with
the info on the right. For wider images, it puts the image on top, and the
info underneath. It's one on the fly and no appreciable performance loss.
Dave
----- Original Message -----
From: Gary Groomer <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Sent: Sunday, January 21, 2001 11:12 AM
Subject: Re: Evaluating height/width of a JPG?
I have successfully used the "ImageSize.cfm" custom tag from Allaire's web
site. If you use this with Photoshop images, make sure that the files are
not saved with thumbnails as this tag may pick up the size of the thumbnail
vs. the size of the image. Also, you will find more custom tags on
Allaire's site which do the same thing.
Gary Groomer
----- Original Message -----
From: "Les Irvin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, January 20, 2001 11:37 PM
Subject: Evaluating height/width of a JPG?
> Is it possible to dynamically evaluate the width and/or height of a JPG or
> GIF that a client uploads to a site? I want to take action based upon
> those parameters of a graphics file.
> Thanks,
> Les
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists