Max logo size is set to 200000 bytes (200K) instead of 2MB
-
When trying to upload my logo with the latest version, I received the error message stating file size should not be > 2MB. My image was 247KB. When I debugged the file_size value it correctly reported as 247000, but unfortunately the size comparison is ‘200000’ (i.e. 200KB, not 2MB).
In testing, adding a trailing 0 of line 505 resolved the issue as expected:
if ( $file['size'] <= 2000000 ) {
vs
if ( $file['size'] <= 200000 ) {
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Max logo size is set to 200000 bytes (200K) instead of 2MB’ is closed to new replies.