View Full Version : Checking Image Sizes

The Keeper
03 Apr 2002, 08:27
Is there anyway to check the image size (length and width) of an image? The image would be stored on another server, but the url of it would be stored in the database.

This is so people can submit banner url's, but my script will check the banners on submittal, and once a day if they are under the right dimension.

03 Apr 2002, 08:39
I know of GetImageSize() but I don't think it works for remote images.

Freddie Bingham
03 Apr 2002, 17:04
Yes it will work and you have the right idea to check it once per day and not on every access.