This is an awesome plugin, but I found that the 'type' variable maybe is wrong, in the line 26 is this code:
var type = options.resizeType || 'image/jpg';
and I think it should be:
var type = options.resizeType || 'image/jpeg';
The image/jpg type returns a png data type, and with the image/jpeg string, it returns a jpeg data type and is faster than the other way.
BTW thanks a lot.
This is an awesome plugin, but I found that the 'type' variable maybe is wrong, in the line 26 is this code:
var type = options.resizeType || 'image/jpg';
and I think it should be:
var type = options.resizeType || 'image/jpeg';
The image/jpg type returns a png data type, and with the image/jpeg string, it returns a jpeg data type and is faster than the other way.
BTW thanks a lot.