I have a site which is developed in Umbraco 6.2.4. Recently I noticed that image cropper is not working correctly in my site. My scenario is as below:
After uploading the image first time I can save the images and cropper generate the cropped images. But if I tried to correct the crop position and save the image then it throws the error and error message is like this "The process cannot access the file 'xxxxxx' because it is being used by another process.". I tried to find solution myself but unable to find. So please suggest me how can I solve this issue.
Thanks for your response. I already tried to do change in umbraco source code as per the post you suggested but unable to regenerate the cropped Images.
I am using the default cropper that comes with Umbraco. I tried to work with source code and error throws in SaveJpeg of ImageManipulation.cs. The file is in umbraco.editorControls imagecropper. This is the codeline _fs.AddFile(path, fileStream, true); that I am having the process error.
Image Cropper throws error while saving media
Hi All,
I have a site which is developed in Umbraco 6.2.4. Recently I noticed that image cropper is not working correctly in my site. My scenario is as below: After uploading the image first time I can save the images and cropper generate the cropped images. But if I tried to correct the crop position and save the image then it throws the error and error message is like this
"The process cannot access the file 'xxxxxx' because it is being used by another process."
. I tried to find solution myself but unable to find. So please suggest me how can I solve this issue.Regards
PTamang
Hi PTamang,
Perhaps, this post can help you to solve your issue with the Image Cropper. http://our.umbraco.org/forum/developers/api-questions/26068-The-process-cannot-access-the-file-x-because-it-is-being-used-by-another-process
Hope this helps,
/Dennis
Hi Dennis,
Thanks for your response. I already tried to do change in umbraco source code as per the post you suggested but unable to regenerate the cropped Images.
Thanks Ptamang
Hi Pasang
When you say image cropper...which one are you referring? Is it the CropUp package? Or is it the very very old image cropper package from waaay back?
/Jan
Hi Jan,
I am using the default cropper that comes with Umbraco. I tried to work with source code and error throws in
SaveJpeg
ofImageManipulation.cs
. The file is in umbraco.editorControls imagecropper. This is the codeline_fs.AddFile(path, fileStream, true);
that I am having the process error.Regards,
PTamang
is working on a reply...