The first upload (per refresh) is not displayed.
The server is responding fine when I look at the JSON response however the styles on the image is all off.
<img src="/Temp/image.jpg" style="z-index: 0; opacity: 0.2; width: 40px; height: 0px; left: -20px; position: relative;">
Temporarily editing the height and width of the image in the browser for debugging purposes also makes the image frozen in place.
Funny thing is if I clear the image and upload it again it works perfectly.
Including my view and js options incase I messed it up somehow.
Hi, I have a strange issue I can not figure out.
The first upload (per refresh) is not displayed. The server is responding fine when I look at the JSON response however the styles on the image is all off.
<img src="/Temp/image.jpg" style="z-index: 0; opacity: 0.2; width: 40px; height: 0px; left: -20px; position: relative;">
Temporarily editing the height and width of the image in the browser for debugging purposes also makes the image frozen in place.Funny thing is if I clear the image and upload it again it works perfectly.
Including my view and js options incase I messed it up somehow.
View `
JS
var cropperOptions = { uploadUrl: '/ProfilePicture/_Upload', cropUrl: '/ProfilePicture/Crop', rotateControls: false, outputUrlId: 'cropperOutput', onAfterImgCrop: function () { $('#saveButton').attr('style', 'display: block;'); } } var cropperHeader = new Croppic('cropper', cropperOptions);
Regards Max