siva350
asked on
get image and swf dimensions with coldfusion
Is there a way to check the dimensions of an image or a swf file on your server. I am building a banner management application and I want it to add the height and width of a banner to the database when a banner gets uploaded throught the form using cffile. I want this to be an automated feature so the client does not have to add them in their self. Any advice as where to start on this would be great.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I don't know
ASKER
mrichmon, thanks for your help, I found a cfc that I think will work for the flash but it looks like your answer will do the trick for the gifs and jpg so I will be back shortly to let you know if it all worked and post a link to the cfc if it does work
ASKER
this code does not seem to work, can you tell me what I need to change?
ASKER
nevermind, Im a moron and forgot to put the file path in the code. oops
ASKER