Is there a way that I'd be able to determine if an image is greater than a certain size? I haven't run into anything like this before.
What I want to do is to display a person's avatar, however, if it's bigger than a certain size I want to size it down [I was thinking about just hard coding it to 100x100 but I figured if someone's avatar isn't square dimensions then it wouldn't look good].
Is there a way to determine the width and height of an image? Or am I hooped?