Foliotek / Croppie

A Javascript Image Cropper
http://foliotek.github.io/Croppie
MIT License
2.56k stars 885 forks source link

Croppie 2.6.4 generated images are not rendering in IE11 #708

Closed spratap124 closed 4 years ago

spratap124 commented 4 years ago

Expected Behavior

In Chrome, firefox the uploaded images are showing properly. And it should look like this.

image

Actual Behavior

But in IE 11 its showing like this:

image

Images are getting downloaded also in IE but not being rendered.

Croppie version: 2.6.4

Steps to Reproduce the Problem

  1. Select the image
  2. Upload the image
  3. render that generated image and test it on IE11

Specifications

spratap124 commented 4 years ago

This issue is fixed. Just make sure while converting the base64 to jpeg from server side you set the content-type or mime type of the image to "JPEG" not "JPG".