Page 1 of 1

Open Big Size Images

Posted: Sat Jul 17, 2010 6:00 am
by badihi
Hello my friends!
I have a very big problem with my image gallery. In my gallery I like to show thumbnail images in first page and link theme to big images. I used PHP to reduce image size and make thumbnail images. But the problem is here. When I want to open big files by imagecreatefromjpeg() function, it does not successful. This work makes the below error:
[text]Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 15488 bytes) in C:\xampp\htdocs\Site\thumb.php on line x[/text]
And I cannot open the image :cry: .
Can someone help me? :roll:

Re: Open Big Size Images

Posted: Sat Jul 17, 2010 6:04 am
by pbs
Increase "memory_limit" in php.ini file.

Re: Open Big Size Images

Posted: Sat Jul 17, 2010 6:18 am
by badihi
Thanks for your reply, my friend.
The problem was solved.