Forums / General / Image Upload File Size -> 1MB smallest?
Koos TDK
Tuesday 05 October 2004 2:31:59 am
Hi!
I added an image attribute to a class, but I want to limit the size of any uploaded image to 200k. It seems the smallest one can set it to is 1MB though, since the field does not save any value smaller than one (i.e. if I select 0.2 MB, it defaults back to 1MB once the change is stored).
Am I missing something?
Thanks!! :-)
Lazaro Ferreira
Tuesday 05 October 2004 3:10:26 pm
Hi,
AFAIK, that´s it , 1MB is the smallest
Lazaro http://www.mzbusiness.com
Monday 18 October 2004 12:28:02 am
Hi Lazaro, thanks for the response!
I am back on this problem again, I need to limit the size of image files uploaded to 100k.
Does anybody know how/where I can hack the code to limit the image upload size?? If I have to hard-code it for now, that's OK.
EZcrew - Maybe for version 3.5 you can make it selectable?
Sunday 21 November 2004 10:31:55 pm
Does anybody have a solution for this? Maybe it is available in 3.5?
I really need to limit the size of images that can be uploaded to 100k, even if I have to hack some files manually somewhere.
Thanks for any help! :-)
Jorge estévez
Saturday 09 August 2008 2:42:03 am
Hello,
Did you find a solution, I am trying to hack the size and allow any size to be uploaded, I am using ez 3.8
Any clue ?
thanks
Diseño Web Cuba Web Design Cuba www.elfosdesign.com
Gabriel Finkelstein
Monday 11 August 2008 1:46:44 pm
Haven't tried it, but maybe changing in kernel/classes/datatypes/ezimage/ezimagetype.php from
define( 'EZ_DATATYPESTRING_MAX_IMAGE_FILESIZE_FIELD', 'data_int1' );
to
define( 'EZ_DATATYPESTRING_MAX_IMAGE_FILESIZE_FIELD', 'data_float1' );