Allowed memory size exhausted

Phoca Gallery - image gallery extension
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Allowed memory size exhausted

Post by caro84g »

Hi,

that's possible. I might have to do with the PHP memory_limit.

You could of course resize the original image.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
rexkramer
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 31 Jul 2009, 23:14

Re: Allowed memory size exhausted

Post by rexkramer »

sitting in the same boat...

Is it possible to handle large (original) artwork or photos with phoca gallery? I have to deal with the original files, so resizing before an upload is no option.
I read about GD2 library... and the PHP memory limit settings... can i really solve the problem and set the limits to an extreme value? I guess the server owner or provider is not amused or even don´t let me change this to an extreme?!

TIA!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Allowed memory size exhausted

Post by Jan »

Hi, Phoca Gallery only sends information to the GD, so thumbnails are created by your server's GD library and it depends on your server (php, cpu, gd) if it will be able to create thumbnails from large files. Mostly GD has problem with large resolution not with large size.

Jan
If you find Phoca extensions useful, please support the project
rexkramer
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 31 Jul 2009, 23:14

Re: Allowed memory size exhausted

Post by rexkramer »

Jan wrote:...Mostly GD has problem with large resolution not with large size.
Jan
Interesting hint. You mean if it has a high dpi value instead of the typical screen setttings for digital photos, right? So, the same file with same megabytes can cause trouble if it is a scan with 240-300 dpi... but the same filesize with 72dpi is working better?!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Allowed memory size exhausted

Post by Jan »

Hi, mostly high resolution = large size. But sometimes it can be different. Large file with smaller resolution. I got information from users, that the problem is mostly the resolution (dpi). So yes, try to change the dpi, maybe this will help :idea:

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