hi there,
i'm using the scripts from http://fonant.mirrors.phpclasses.org...kage/1261.html (found in the files resize.php, sample.php) where in my CMS a user uploads an image and using the defined functions/classes in there it resizes the image and saves it.
i've used this in other sites without any problems although it seems in this case where a file uploaded may be greater than 1mb then it does not resize it and breaks the script with no further output or actions. i know it seems to be a problem with this function as if i do not use it then the upload actions are fine. generally, it only seems to function on smaller files up to a few hundred k in size.
i am on a 1and1 shared server and in my upload form i have set the max_file_size at 5000000, and my phpinfo on the server shows that my upload_max_filesize is at 20mb anyway and post_max_size is 8mb so it does not appear that that is a problem?
any ideas?
cannot resize images over a certain filesize!
Moderator: General Moderators
Re: cannot resize images over a certain filesize!
just guessing but the max allowed memory for php to use?
Re: cannot resize images over a certain filesize!
set at 40m, ive also set set_time_limit to 0 so there is no time out.
still the same, if i dont use the function to resize and let it upload a large file 3mb say, it uploads fine. it just seems to be when that function is applied to files over a certain size.
still the same, if i dont use the function to resize and let it upload a large file 3mb say, it uploads fine. it just seems to be when that function is applied to files over a certain size.