

I'm setting a timeout because if you don't it will send the form to php before cropit can create the base64. The way I got it to work is by messing around with the quality settings of Cropit and creating a PHP function that reads the base64 string and converts it to an image.

into an image that I can use in a php script. The code here is working properly for the plugin but I'm unable to turn the result which looks something like data:image/png base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAAD. Meaning, if the original image has a resolution of 1000 x 1000 and the preview size is 100 x 50, I want to get a result in the resolution of 1000 x 500. Var imageData = $('#image-cropper').cropit('export') In my case I dont want to scale the image, I just need the correct ratio. $('#image-cropper').cropit('previewSize', )
#Cropit export size stackoverflow archive
1 Get-MailboxStatistics -Identity '' -Archive Select DisplayName, TotalItemSize, ItemCount The parameter -Archive is the key input to get the archive mailbox. Src:'users/'+username+'/profile_picture.jpg' Once you confirmed the archive status for the mailbox, run the following command to get the size and archived items count. I'm using the Cropit plugin and all I need is an image that I can pass into my php upload script. All reactions Sorry, something went wrong. This feature seems pretty high in demand and I'll make sure to add it soon. I've been searching the internet for a while now and cannot find anything that tells me how I turn the result from $('#image-cropper').cropit('export') into an image that PHP can upload to the server. Right now there's no API for that but one way to do it is to remove background-imageof the image container: ('.cropit-image-preview').css('background-image', 'none').
