Find size of loaded image

Hi Forum,

Anyone knows how do i find it out the width and height of the image loaded inside a movie clip. And how i can restrict the user of loading image having a specific size say 300px width and 200px height.

Right now i am unable to have control and the whole page is getting covered by the big images.