< anders:imagecropper id="crop" maintainaspectratio="true" capturekeys="false" cropenabled="true" xmlns:anders="#unknown"> CroppedImageHeight="200" CroppedImageWidth="320" JpegQuality="75" AlternateText="Crop image" runat="server" /></anders:imagecropper>
imgStream = fileUpdChangePhoto.PostedFile.InputStream; imgLen = fileUpdChangePhoto.PostedFile.ContentLength; imgBinaryData = new byte[imgLen]; n = imgStream.Read(imgBinaryData, 0, imgLen); imgBinaryData = ReadByteArrayFromFile(strFilePath); crop.SourceImage = imgBinaryData;
<httphandlers> <add path="CropImage.axd" verb="*" type="Anders.Web.Controls.ImageCropperHttpHandler" validate="false" /> </httphandlers>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)