Summary:
"Resize Image" setting causes error when type is "File"
Detailed Description:
When using GBFilePicker with media_type="file", if the "Resize Image" checkbox
is ticked uploading files (PDF files in this case) is not possible. The error
messsage is "Error moving uploaded file 'my_file.pdf' into place".
The error doesn't occur if the "Resize Image" checkbox is not ticked, but if
GBFilePicker is used as an image picker elsewhere in the site and the "Force
scaling" option is set in GBFilePicker preferences then the "Resize Image"
checkbox is ticked by default.
It would be good if this could be fixed so that the "Resize Image" options are
automatically ignored when media_type="file".