Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to auto find dimentions (width/height) after CFfile upload? Please 1

Status
Not open for further replies.

bluesauceuk

Programmer
Jan 1, 2001
73
GB
Hello!

I am having great trouble with this one...

I've got the picture to the server! but now I want to add into the table, the width and height... Ages ago, when I had a different username, somebody posted a solution of how to do this by some maths (US=math!)

So could anyone help!

Mark ;-)
 
To get the height and width of an image, you somehow have to read the image format to find this information. Since this is different with almost every image format (jpg, gif, bmp, etc..) I think you will need a custom tag designed to read the file types you're using. I'm sure you could find one from the Allaire custom tags gallery but I don't know of any way to do this with the standard CF functions and tags.

GJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top