[thelist] Get image size programatically via anything besides a third party program

Ken Kogler ken at kenkogler.com
Tue Apr 30 01:37:01 CDT 2002


This is a BIG chunk of code, so I'm going to give you a link instead of
clog up LEO with it.

Save the page, but be sure to rename it to .asp instead of .txt!

http://www.kenkogler.com/gfxProperties.txt

The code you'll want to change is at the very end. It starts at line 218
and begins with the comment "test harness". You shouldn't need to mod
the code above that spot. That "test harness" section uses the FSO to
get all .gif files in the root of the c:\ drive. Change that to whatever
you want (use server.mappath() if need be), and you can change the
extension to .gif, .jpg, or whatever you want.

If you need help, e-mail me offlist (ken at kenkogler.com) and I'll give
you a hand.

-Ken Kogler




More information about the thelist mailing list