|
-
Sep 4th, 2003, 01:02 AM
#1
Thread Starter
Hyperactive Member
Resize uploaded image
Hi all, I want to be able to resize an image that a user has uploaded.
I have the image upload working as well as the image resize. When I go to delete the original uploaded file (I want to replace the uploaded file with the new resized version) I get a
"file being used by another process" error. I therefore cannot replace the uploaded image with the new thumbnail.
How can I get around this???
Thanks
MarkusJ
-
Sep 21st, 2006, 09:49 AM
#2
Lively Member
Re: Resize uploaded image
"Crowded elevator always smell different to midget."
-
Sep 21st, 2006, 10:30 AM
#3
Fanatic Member
Re: Resize uploaded image
How do you resize the image? This error often occurs on a file when you have something like a FileStream that is not properly closed.
-
Sep 22nd, 2006, 09:08 AM
#4
Hyperactive Member
Re: Resize uploaded image
I want to see the code as well....Do tell....
-
Sep 22nd, 2006, 01:33 PM
#5
Re: Resize uploaded image
Try .Dispose()ing the file object after saving it, then calling gc.collect().
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|