Just tried to install it and use the gallery. Not with much succes.
I sometimes am able to add a batch image upload. Usually though it does not work.
Clean install, joomla 1.5.15
The problems I run into:
- creating thumbs freezes. After clicking 'stop script', few thumbs are created
- when I later on try to create some more thumbs, it 'creates' thumbs, however they are grey and not real thumbs
- I can not recreate, though the success message is shown
- I can not find any thumns in the dir
Not sure what info I should provide...
[SOLVED] Problem with thumbnails
-
dakke
- Phoca Member

- Posts: 11
- Joined: 13 Dec 2009, 10:44
[SOLVED] Problem with thumbnails
Last edited by dakke on 14 Dec 2009, 21:14, edited 3 times in total.
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problem with thumbnails
Hi, try to check your GD library on your server. GD library creates the thumbnails:
grey thumbnails - check the GD
recreating thumbnails - if you have disabled automatically creation, you need to enable it in parameters again, see:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
If the thumbnails creation is disabled, then you can add images into the system (database) but thumbnails will be not created, they are only created if thumbnail creating is enabled in parameters.
If you have problems with creating thumbnails (if thumbnail creation is enabled) then check the size or resolution of the images and check the php memory limits on your server.
Jan
grey thumbnails - check the GD
recreating thumbnails - if you have disabled automatically creation, you need to enable it in parameters again, see:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
If the thumbnails creation is disabled, then you can add images into the system (database) but thumbnails will be not created, they are only created if thumbnail creating is enabled in parameters.
If you have problems with creating thumbnails (if thumbnail creation is enabled) then check the size or resolution of the images and check the php memory limits on your server.
Jan
If you find Phoca extensions useful, please support the project
-
dakke
- Phoca Member

- Posts: 11
- Joined: 13 Dec 2009, 10:44
Re: Problem with thumbnails
Thanks for the reply.
However, I'm able to create thumbs from 1 folder. If I want to add another from another folder, nothing. The thumbs creation is enabled... Recreating even only 1 gives the message 'Stop Thumbnails Creation' but freezes.
It also sometimes starts creating the thumbs and then switches over to 'Stop Thumbnail Creation' and then it freezes again.
In other words, the GD is there, cause I can create some thumbs initially. After a while though, I can't anymore. They are grey indeed, though the first multiple adds works just fine.
Phocagallery 2.6.1
Behavior:
1. When doing fresh install, some thumbs are created, after a while it freezes with 'Stop Thumbnail Creation'. Stopping the thumb creation and I see some thumbs created, others are not.
2. Recreating the thumbs that are created correctly, works a while, however freezes also with 'Stop Thumbnail Creation'
3. Thumbs that are not created correctly and recreating them immediately gives the 'Stop Thumbnail Creation'
4. I tried to change the parameters a bit, nothing seems to be doing much
5. Uninstalling and reinstalling does not change behavior. Neither does removing the thumbs. Neither does cleaning the dir.
6. Doesn't seem to be related to memory of server, since it shows same behavior with only 1 image both when creating a thumb as when recreating the thumb.
7. Same behavior when adding 1 and multiple images.
Question
Is there a way to download v 2.6.0, to see whether that solves the problem.
However, I'm able to create thumbs from 1 folder. If I want to add another from another folder, nothing. The thumbs creation is enabled... Recreating even only 1 gives the message 'Stop Thumbnails Creation' but freezes.
It also sometimes starts creating the thumbs and then switches over to 'Stop Thumbnail Creation' and then it freezes again.
In other words, the GD is there, cause I can create some thumbs initially. After a while though, I can't anymore. They are grey indeed, though the first multiple adds works just fine.
Phocagallery 2.6.1
Behavior:
1. When doing fresh install, some thumbs are created, after a while it freezes with 'Stop Thumbnail Creation'. Stopping the thumb creation and I see some thumbs created, others are not.
2. Recreating the thumbs that are created correctly, works a while, however freezes also with 'Stop Thumbnail Creation'
3. Thumbs that are not created correctly and recreating them immediately gives the 'Stop Thumbnail Creation'
4. I tried to change the parameters a bit, nothing seems to be doing much
5. Uninstalling and reinstalling does not change behavior. Neither does removing the thumbs. Neither does cleaning the dir.
6. Doesn't seem to be related to memory of server, since it shows same behavior with only 1 image both when creating a thumb as when recreating the thumb.
7. Same behavior when adding 1 and multiple images.
Question
Is there a way to download v 2.6.0, to see whether that solves the problem.
-
dakke
- Phoca Member

- Posts: 11
- Joined: 13 Dec 2009, 10:44
Re: Problem with thumbnails
Update:
When uploading to other server, I got the error:
When uploading to other server, I got the error:
even when I only tried to recreate 1 single thumb.Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 15488 bytes) in mysite/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php
-
dakke
- Phoca Member

- Posts: 11
- Joined: 13 Dec 2009, 10:44
Re: Problem with thumbnails
The thing was that I some of my files were too large, creating the error report. In other words, increasing the
That gave me a bit of hope, but still not working. It seemed to work at first, however it still gives the same error message. What a pain...
in parameters seems to have solved the problems.Maximum Upload Size (in bytes - front, admin upload)
That gave me a bit of hope, but still not working. It seemed to work at first, however it still gives the same error message. What a pain...
-
dakke
- Phoca Member

- Posts: 11
- Joined: 13 Dec 2009, 10:44
Re: Problem with thumbnails
Solved at last. All due to memory usage, which you can increase using this plugin. A non-expert solution to increase the memory