Modified resized now object and added dataURL for original image.