Open Big Size Images

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
badihi
Forum Newbie
Posts: 15
Joined: Sun Jul 05, 2009 1:16 am

Open Big Size Images

Post 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:
pbs
Forum Contributor
Posts: 230
Joined: Fri Nov 07, 2008 5:31 am
Location: Nashik, India
Contact:

Re: Open Big Size Images

Post by pbs »

Increase "memory_limit" in php.ini file.
badihi
Forum Newbie
Posts: 15
Joined: Sun Jul 05, 2009 1:16 am

Re: Open Big Size Images

Post by badihi »

Thanks for your reply, my friend.
The problem was solved.
Post Reply