Search code examples
jqueryruby-on-railsjquery-file-uploadbmpblueimp

Blueimp jQuery file upload rails: BMP image preview issue


I can upload BMP image files in my rails application using Blueimp jQuery file upload rails. But I could not preview BMP file only. How to fix this issue?

Blueimp - Sebastian explained this is an browser issue but in dropzone.js they are displaying the image in using canvas data.

I want to preview bmp image before upload. Even I found the way to convert BMP file in 2 methods,

  1. external method
  2. var dataUrl = canvas.toDataURL()

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

Anybody resolved this issue?


Solution

  • BMP file could not be previewed using blueimp jquery file upload rails.