Image Gallery Add-on Support Product Page

Solved

Upload and resize error on large files

Reported 21 Sep 2012 14:13:40
1
has this problem
21 Sep 2012 14:13:40 chris aldrich posted:
I have the latest version of Image gallery add-on, with the latest version of AHTML Editor. I have a problem uploading and resizing larger files.

I have set maximum upload size to 40Mb on IIS. I have set permissions on the server for the IIS user to Full Control.

I get the following error:


QuoteImage Processor: Error executing the action SaveJPEG Could not write the file 'C:\<removed path>\wwwroot\images\uploaded_images\a remove test.jpg'. Make sure that ASP.NET does have write permissions in the folder.



when I try to upload a file about 2Mb.

Smaller files (26Kb), upload with no problems.

Can you help please?

Replies

Replied 21 Sep 2012 14:19:13
21 Sep 2012 14:19:13 Teodor Kuduschiev replied:
Hello,

can you please tell us if you are only using Upload or Upload and Resize? If you are using Resize can you please tell us if the image gets resized at all?
Replied 21 Sep 2012 14:24:49
21 Sep 2012 14:24:49 chris aldrich replied:
Hi Teodor,

Thanks for your speedy response.

I am using upload and resize. The image gets uploaded after the error has cleared but not resized.

Ihave set resize to 350px wide. I have tested the following images 3268px wide, 1000px wide, 400px wide and 300px wide. They all upload but fail with the error except 300px wide that has no error.

Chris
Replied 21 Sep 2012 14:30:14
21 Sep 2012 14:30:14 Teodor Kuduschiev replied:
the reason that the images below 350px are being uploaded is that then the resize is not called. It seems you have not set the right modify permissions so the image processor can modify and then save the uploaded files.

Quote
Please Make sure that ASP.NET does have write permissions in the folder.

Ensure the IIS_WPG user is in Security and has the Modify permission.

Replied 21 Sep 2012 14:54:58
21 Sep 2012 14:54:58 chris aldrich replied:
I dont have a IIS_WPG user, I use WebsitePanel to manage my permissions on the server.
Replied 21 Sep 2012 15:00:10
21 Sep 2012 15:00:10 Teodor Kuduschiev replied:
Please contact your server admins and ask them to give you modify permissions for the upload folder.
Replied 21 Sep 2012 15:01:46
21 Sep 2012 15:01:46 chris aldrich replied:
I have full administrator control over the server but can not find this user.
Replied 21 Sep 2012 15:38:15
21 Sep 2012 15:38:15 chris aldrich replied:
Ok, surver admin led me in correct direction and has been fixed by setting the write permissions. Thanks for help.

Only other thing I wanted to de here is rename the file on upload, is this possible?
Replied 24 Sep 2012 06:48:54
24 Sep 2012 06:48:54 Teodor Kuduschiev replied:
Unfortunately this is not possible.

Reply to this topic