Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi...

I have implemented Anders:ImageCropper control. it's working fine with my local system but on my live site image is not display with this control.

How to solve this issue?

my code is below.

.aspx page
< anders:imagecropper id="crop" maintainaspectratio="true" capturekeys="false" cropenabled="true" xmlns:anders="#unknown">
                            CroppedImageHeight="200" CroppedImageWidth="320" JpegQuality="75" AlternateText="Crop image"
                            runat="server" /&gt;</anders:imagecropper>

.cs file
C#
imgStream = fileUpdChangePhoto.PostedFile.InputStream;
imgLen = fileUpdChangePhoto.PostedFile.ContentLength;
imgBinaryData = new byte[imgLen];
n = imgStream.Read(imgBinaryData, 0, imgLen);
imgBinaryData = ReadByteArrayFromFile(strFilePath); 
crop.SourceImage = imgBinaryData;

web.config:
<httphandlers>
 <add path="CropImage.axd" verb="*" type="Anders.Web.Controls.ImageCropperHttpHandler" validate="false" />
</httphandlers>

.dll
Anders.Web.Controls.dll
Posted
Updated 8-Jul-10 0:13am
v2

1 solution

The best way to get help is probably to contact Anders, the author of the control.

Because it is not a standard control, there might not be that many people here who have experience with it... (Then again: With +7M users, there ought to be at least a few...)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900