You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Works fine so far only problem is Image upload.
After some looking I found out that the getFileClass function in FileAttachmentField.php is reporting File even if the file has an Image extension.
Simply replacing "$defaultClass == "Image" with "$defaultClass == Image:class" Fixed it.
Line 1315
The text was updated successfully, but these errors were encountered:
ivoba
added a commit
to ivoba/silverstripe-dropzone
that referenced
this issue
May 28, 2019
Works fine so far only problem is Image upload.
After some looking I found out that the getFileClass function in FileAttachmentField.php is reporting File even if the file has an Image extension.
Simply replacing "$defaultClass == "Image" with "$defaultClass == Image:class" Fixed it.
Line 1315
The text was updated successfully, but these errors were encountered: