Blueimp jQuery boot files implemented: BMP image preview issue

I can upload BMP image files to my rails application using Blueimp jQuery relay files. But I could not see only the BMP file. How to fix this problem?

Blueimp - Sebastian explained that this is a browser problem , but in dropzone.js they display an image when using canvas data.

I want to view the bmp image before downloading. Even I found a way to convert a BMP file to 2 methods,

Now the problem is that I could not find the appropriate callback method in bluimp. I am using jquery-fileupload-rails gem.

Has anyone resolved this issue?

+4
source share
2 answers

The BMP file cannot be viewed using the boot rails of the blueimp jquery file.

+2
source

The current version I'm using allows BMP previews, just go to the next option:

loadImageFileTypes: /^image\/(bmp|gif|jpeg|png)$/,
Run codeHide result
0
source

Source: https://habr.com/ru/post/1569796/


All Articles