var e = $(this);
var reader = new FileReader();
reader.onload = function (event)
{
var imgObj = new Image();
//imgObj.src = event.target.result;
imgObj.src = event.target.result;
imgObj.onload = function ()
{
var image = new fabric.Image(imgObj);
image.set
({
top: 100,
left: 100
});
image.scale(0.3);