Granted, this doesn't address the issue of image resizing, but that shouldn't be Mafia's job in the first place.