Page 1 of 2

Thumbnail creation problem

Posted: 17 Sep 2010, 12:40
by allebrugere
When i upload any amount of pictures, somewhere in the process of creating thumbnails, the page turns blank, except for the "stop creation thumbnail" button. This does not seem to happen with any particular picture, or amount of pictures. I have tried both complete Phoca upload and FTP upload, but its the same. Im going to upload about 2-3000 pictures, so its going to be horrible to create the thumbnails manually... Help please!

Re: Thumbnail creation problem

Posted: 17 Sep 2010, 16:38
by Alexander_photo
I had a similar problem.
Check the permissions on the folder.
/Images/phocagallery and other folders

Re: Thumbnail creation problem

Posted: 17 Sep 2010, 17:04
by Benno
....and set Phoca Gallery --> Parameters --> Thumbnail Creation Settings -->
Pagination Thumbnail Creation=Yes
Kind regards,
Benno

Re: Thumbnail creation problem

Posted: 20 Sep 2010, 13:47
by Saffraan
Alexander_photo wrote:I had a similar problem.
Check the permissions on the folder.
/Images/phocagallery and other folders
Hi there! I also have the same problem, but isn't sure how to check the permissions on the folder... Can you please tell me how? Thanks in advance!!

Re: Thumbnail creation problem

Posted: 20 Sep 2010, 18:06
by Jan
Hi, see:
https://www.phoca.cz/documents/38-tools/ ... nd-folders

Ownership problems can be solved mostly with help of webhosting provider :-(

Jan

Re: Thumbnail creation problem

Posted: 20 Sep 2010, 19:51
by Saffraan
Hi Jan - thanks for your quick reply. After changing the permissions, I tried again, but now I get a different problem:

Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 19008 bytes) in
/home/rudyzeta/public_html/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

I looked for answers on the forum, but couldn't get it to work.

Re: Thumbnail creation problem

Posted: 21 Sep 2010, 13:38
by Jan
There are only two ways how to solve this fatal error:

- increase memory limit on your server
- or uploading resized images to the server

Seems like your GD library has no memory to create thumbnail from an image.

Jan

Re: Thumbnail creation problem

Posted: 01 Oct 2010, 21:43
by lancerus
Hi Jan,
I have hit this same problem - but cannot increase the memory limit on the server where my site is hosted. There's another possible solution which is to exec out to imagemagic instead of doing it all in memory in php. I think I posted a possible patch for imagemagic.php last year ?
jomsocial behaves like this (configurable) - if you provide the path to imagemagic, it execs out, otherwise it runs inline.
Is it possible to get something like this added to the code?

Thanks!
Roger

Re: Thumbnail creation problem

Posted: 02 Oct 2010, 17:54
by Jan
Hi, cannot find any such file, do you have a link for this file?

Re: Thumbnail creation problem

Posted: 03 Oct 2010, 22:04
by Tristec
Hi I have exactly the same problem. The thumbs building process is not proceeding and I can't see any process bar. After half an hour I stopped this.
My Webhoster is 1und1.de, the phpinfo shows the following information:
- PHP Version 5.2.14
- memory_limit 40M
- upload_max_filesize 20M

Chmod rights are 755 for images/phocagallery...
Maybe you can help me.:cry: