Auto resize with upload

Auto resize with upload

Is it possibile to set an autoresize every time the user add some pictures?.
I notice that if you upload a big img. It is uploaded  and displayed with its original size.
Waste of mb.