Thumbnail creation problem
-
allebrugere
- Phoca Newbie

- Posts: 5
- Joined: 17 Sep 2010, 12:34
Thumbnail creation problem
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!
-
Alexander_photo
- Phoca Member

- Posts: 18
- Joined: 23 Feb 2010, 14:07
- Contact:
Re: Thumbnail creation problem
I had a similar problem.
Check the permissions on the folder.
/Images/phocagallery and other folders
Check the permissions on the folder.
/Images/phocagallery and other folders
- Benno
- Phoca Hero

- Posts: 10081
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Thumbnail creation problem
....and set Phoca Gallery --> Parameters --> Thumbnail Creation Settings -->
Pagination Thumbnail Creation=Yes
Kind regards,
Benno
Pagination Thumbnail Creation=Yes
Kind regards,
Benno
-
Saffraan
- Phoca Newbie

- Posts: 2
- Joined: 20 Sep 2010, 13:44
Re: Thumbnail creation problem
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!!Alexander_photo wrote:I had a similar problem.
Check the permissions on the folder.
/Images/phocagallery and other folders
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Thumbnail creation problem
Hi, see:
https://www.phoca.cz/documents/38-tools/ ... nd-folders
Ownership problems can be solved mostly with help of webhosting provider
Jan
https://www.phoca.cz/documents/38-tools/ ... nd-folders
Ownership problems can be solved mostly with help of webhosting provider
Jan
If you find Phoca extensions useful, please support the project
-
Saffraan
- Phoca Newbie

- Posts: 2
- Joined: 20 Sep 2010, 13:44
Re: Thumbnail creation problem
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.
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.
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Thumbnail creation problem
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
- 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
If you find Phoca extensions useful, please support the project
-
lancerus
- Phoca Member

- Posts: 15
- Joined: 16 Feb 2010, 14:35
Re: Thumbnail creation problem
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
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
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Thumbnail creation problem
Hi, cannot find any such file, do you have a link for this file?
If you find Phoca extensions useful, please support the project
-
Tristec
- Phoca Newbie

- Posts: 2
- Joined: 03 Oct 2010, 21:52
Re: Thumbnail creation problem
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.
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.