View Full Version : Finding the width and height of an image/flash file.
How do I find the width and height of an image or flash file? I'm pulling the path from a database, and don't want to add other fields with the width and height. How can I detect the width and height?
Thanks
whammy
10-27-2002, 11:21 PM
Not offhand, I'd probably add a width and height field to the database.
glenngv
10-28-2002, 05:23 AM
you can determine the image size using javascript on the client-side, but if you want it server-side, you can download a free component from http://www.serverobjects.com called ImageSize (http://www.serverobjects.com/comp/imgsize.zip)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.