Fatal memory error with thumbnail creation

Phoca Gallery - image gallery extension
poiuy
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 02 Mar 2010, 19:29

Fatal memory error with thumbnail creation

Post by poiuy »

I have php.ini set to a 64mb limit, the maximum for my server. I've disabled unused joomla plugins and modules, turned on system caching, made the images that I needed thumbnails for in phoca gallery weren't enormous (they're around 200kb), yet I still get this error.


Other images I have in phoca gallery are pretty big, around 4.9mb. Do I have to go manually resize every large picture in the gallery to avoid this error? Does phoca gallery try to create thumbnails for every picture in the gallery when automatic thumb creation is turned on?

Any help I can get would be greatly appreciated.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fatal memory error with thumbnail creation

Post by Jan »

Hi, all this depends on your server and your GD library.

I think 4.9MB is too much for the GD so the needed time will be enormous for such operation. So the only solution, I think, is to resize the images before loading to the server :-(

Jan
If you find Phoca extensions useful, please support the project
Post Reply