CMS MADE SIMPLE FORGE

GBFilePicker

 

[#9825] "Resize Image" setting causes error when type is "File"

avatar
Created By: Robin (Cerulean)
Date Submitted: Fri Feb 07 17:25:22 -0500 2014

Assigned To:
Version: GBfilePicker 1.3.3
CMSMS Version: 1.11.10
Severity: Major
Resolution: None
State: Open
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".


History