Welcome Guest, Not a member yet? Register   Sign In
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 22200 bytes) in /home/loyalto/public_htm
#1

[eluser]Unknown[/eluser]
When a jpeg image of size around 2M is uploaded , my website is displaying this error. While I am uploading the same image on my localhost it is working well, using ini_set while I set memory up to 32M still it was showing this error. Though image is being uploaded but the problem is while creating thumbnail. It is unacceptable to show this error to visitors. Any Solution to this problem

There is no problem in uploading image, it is being when it is generating thumbnail and the uploaded file is jpeg and image size is greater than or around 1.5 MB.

I have put a check it is not allowing to upload an image of size greater than 1.5MB. I have uploaded images upto 1.41 MB and that were uploaded successfully and created thumbnail successfully.

Any solution to check image size on client?


Messages In This Thread
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 22200 bytes) in /home/loyalto/public_htm - by El Forum - 04-19-2011, 03:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB