upload icon indicating copy to clipboard operation
upload copied to clipboard

upload files that are not images

Open gadget00 opened this issue 4 years ago • 1 comments

Hi all, I'm trying to implement sirius upload to uploa PDF files in a form, but eventhough I added the 'pdf' extension to the permitted files lists, it still gives me back an error saying the file "should be a valid image (jpg, jpeg, png)"

Doesn't the library allow other types of file or am I doing something wrong?

Thanks for the great work; hope for an answer soon

gadget00 avatar Jul 22 '21 14:07 gadget00

Hi all, I'm trying to implement sirius upload to uploa PDF files in a form, but eventhough I added the 'pdf' extension to the permitted files lists, it still gives me back an error saying the file "should be a valid image (jpg, jpeg, png)"

Doesn't the library allow other types of file or am I doing something wrong?

Thanks for the great work; hope for an answer soon

This library accepts other types of files and you might want to check your added rules specifically the upload extension one. That one validates for which extensions are allowed.

dranzd avatar Jul 24 '22 06:07 dranzd