Page 2 of 2

Re: Can't create thumbnail for large pictures, more than 3M

Posted: 07 May 2010, 17:14
by m3ug
Have tried on another server and get this result:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 15488 bytes) in /hsphere/local/home/m3ugdk/m3ug.dk/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

Was told by my webhost that it is the script demanding to mutch memory.

It works fine with pictures under 3M

Is that going to change or shoud I just settle with smaller pictures?

Rgds Morten

Re: Can't create thumbnail for large pictures, more than 3M

Posted: 09 May 2010, 12:51
by Jan
Hi, yes, you need to upload smalle images. Thumbnails are made by your server, by GD library, so everything depends on server settings (memory, cpu, time, GD). Mostly server is not like standard PC, so there are some limitation in work with graphic.

Jan

Re: Can't create thumbnail for large pictures, more than 3M

Posted: 15 Mar 2011, 09:28
by ccuster
I have looked for many extensions, but really liked Phoca the best... except for the 3MB limit. Here is a work around that I have been using that seems to work.

For Images that are giving you trouble, I use a program to make them smaller and make sure the dimensions are within 2000px. (I use Faststone). I upload these, then let Phoca do its work. After said and done, I then reload the original images to my site, and voila, I have thumbnails and my original images (that can be downloaded).

I hope this helps.

Re: Can't create thumbnail for large pictures, more than 3M

Posted: 16 Mar 2011, 23:52
by Jan
Hi,
except for the 3MB limit
Phoca does not limit anything, all depends on your server (cpu, memory, php, gd, etc.)

Yes, mostly 3MB is to much for standard servers, so in such case images must be resized before creating thumbnails

Jan