You can use the bindings panel to show an error message when the upload fails. We don't have anything to compress .pdf files. Image Resizer can be used to resize images when they are displayed outside of the upload. Image resize during upload only works if you set the upload to only allow images.