cannot resize images over a certain filesize!
Posted: Sun Mar 16, 2008 2:38 pm
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?
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?