You can use the CFX_Image tag or the CFX_ImageInfo tag to get this
information.  Lewis Sellers' website at http://www.intrafoundation.com has
both available for download.

Russel

============================================================
  Russel Madere, Jr.         Senior Web Developer
  ICQ: 5446158               http://www.TurboSquid.com

Some days you eat the bear; some days the bear eats you.
============================================================


> -----Original Message-----
> From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 13, 2001 16:35
> To: CF-Talk
> Subject: looking for a certain custom CF tag
>
>
> I want to display images on a page, but i have a max height and width.  I
> want to be able to get the width and heigth of an image, and change those
> numbers proportionatly if they happen to go over the max, and insert them
> into the IMG SRC tag.
>
> Is there custom CF tag that can retrieve the image height and width of a
> specified image?
> I was working with the CF_IMG tag, but all it does is write out
> the IMG SRC
> tag for me along with the width and height.  I need the width and height
> passed to a variable.  Maybe there's a work around?  thanx
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to