I assume this problem is with FileField and not ImageField since the field "max_filesize_per_file" is defined in filefield.
If I set a per file limit of 2M, and then attempt to upload an Image to a Node that has the imagefield widget on it, I get an error that says I've exceeded the maximum allowed size, even though the size of the file I'm uploading is only 4k.
This occurs no matter what I set the limit to, as long as I use the M designation (ie, 10M, 50M, 100M). If I change the limit to 2000000, then the Upload proceeds without problem.
This needs to be tested as non-administrator, since the Admin apparently can upload any size file.
Comments
Comment #1
drewish commentedmarked #291153: File size restrictions form doesn't accept suggested abbreviation as a duplicte
Comment #2
dopry commentedthis should be fixed in the latest head along with the per node max filesize validation.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
dummas_324324_32 commentedi`ve still this error.
i use the latest versions of filefiled and imagefield.
any idea?