Resize images on upload in the module.