Image exceeds the size limit 1024


When I try to upload images using flash uploader or basic uploader I get the error "image exceeds the size limit 1024"

I have provided 7 MB as the maximum size of the image to upload it. But I am getting this error even if I am uploading images of 2 or 2.5 MB.

Please help me in resolving this issue