Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hey Dan and Manny!
Thanks for creating this excellent package, and great to see a small part of our MultiUpload package being used again!
Using the macro, I can manually set the sizeLimit to whatever I want. However, when used in the Media section the sizeLimit parameter seems to default to 4194304. Is there any way to change this (short of editing the .ascx manually)?
Thanks in advance!
I've got the same problem. This is my web.config:
<httpRuntime requestValidationMode="2.0" maxRequestLength="102400" executionTimeout="3600" />
Still if I upload a picture of 4.18 mb I get a File Size Error.
I've used reflector to look at the code an I found this:
HttpRuntimeSection section = ConfigurationManager.GetSection("system.web/identity") as HttpRuntimeSection;
if (section != null)
this.sizeLimitMB = section.MaxRequestLength / 0x400;
this.sizeLimitMB = 4;
Is there something wrong with this code because it doesn't seem to work.
Well, as a workaround you can manually specify a size-limit on line 26 of the usercontrol (~/usercontrols/gecko.Uploadify/Uploadify.ascx).
This will override the sizeLimit paramter of the macro, but if you only use the package for backend uploading you should be fine.
I only use it in the backend, but I still have this problem. Shouldn't GetSection("system.web/identity") be GetSection("system.web")?
Been quite busy at work, sorry for the lack of replies.
Jeroen, I do believe you found the problem. Thanks! :)I have an updated DLL here that should work: http://geckohub.com/umbraco/Gecko.Uploadify.dll.zipGive it a go, and if it works, we'll update the package.
Thanks for all the feedback and support!Emanuel
I've downloaded the new DLL and now it works :). Thanks!
I've now uploaded Emanuels latest fix in v 1.4. Thanks for the bug reports!
Awesome job, thanks for clearing things up!
Is there no way to specify the size and file type restrictions in the Media section of the backend?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted