Page 1 of 4
Automatic Thumnail creation doesnt work
Posted: 25 Jul 2008, 01:23
by fred
Hey hey,
I have a problem with my gallery. The automatic thumbnail creation does not work anymore. I already tried a lot to fix it (changed in the main menu the automatic thumbnail creation button to yes), but still it does not work. I wanted to delete some fotos when the automatic thumbnail creation started - I pressed stop and since then it doesnt work anymore. Does anybody have an idea - I cannot find the solution. Thank you very much in advance...
Fred
Re: Automatic Thumnail creation doesnt work
Posted: 25 Jul 2008, 11:02
by caro84g
so after you pressed stop, you set the setting 'enable thumbnails creation' in your global settings to 'on' again?
And it still doesn't work?
This might work: delete the thumbs folder and let phoca create all thumbs again. It should work that way (when you have the setting to 'on' of course)
good luck!
Carolien
Re: Automatic Thumnail creation doesnt work
Posted: 27 Jul 2008, 01:22
by fred
Hey Carolien,
thanx for the hint, but unfortunatly it didnt work out. I deleted the folder afer having deleted all the tumbnails that were in there - still there is no thumbnail creation even though the automatic thumbnail creation setting is "on". Do you have any other suggestions what could be the cause??
Fred
Re: Automatic Thumnail creation doesnt work
Posted: 27 Jul 2008, 21:19
by Jan
maybe the template issue, maybe there is some conflict between component and template... I cannot say. I only know that the component works under standard templates ...
Jan
Re: Automatic Thumnail creation doesnt work
Posted: 28 Jul 2008, 11:11
by Sunlust
fred wrote:Hey Carolien,
thanx for the hint, but unfortunatly it didnt work out. I deleted the folder afer having deleted all the tumbnails that were in there - still there is no thumbnail creation even though the automatic thumbnail creation setting is "on". Do you have any other suggestions what could be the cause??
Fred
Do what caro84g said, and then make sure that your photos aren't bigger than 1000x1000 (approx) and not bigger than 1mb each, for me any bigger files would break the automatic thumbnail creation.
hope it helps.
Re: Automatic Thumnail creation doesnt work
Posted: 28 Jul 2008, 17:11
by tess63
Hi
I can't get thumbnails either. I've got around it by manually creating them and then uploading via ftp but that is time consuming.
The error message I get on trying to create them is as follows:
Fatal error: Out of memory (allocated 32505856) (tried to allocate 11264 bytes) in /home/sites/rec-diver.co.uk/public_html/administrator/components/com_phocagallery/helpers/phocagallery.php on line 881
Any ideas on how to fix this? I'm not a great php-er, by the way.
Re: Automatic Thumnail creation doesnt work
Posted: 28 Jul 2008, 17:14
by Sunlust
tess63 wrote:Hi
I can't get thumbnails either. I've got around it by manually creating them and then uploading via ftp but that is time consuming.
The error message I get on trying to create them is as follows:
Fatal error: Out of memory (allocated 32505856) (tried to allocate 11264 bytes) in /home/sites/rec-diver.co.uk/public_html/administrator/components/com_phocagallery/helpers/phocagallery.php on line 881
Any ideas on how to fix this? I'm not a great php-er, by the way.
did you try to do what I posted? What are the image sizes in kbs and in pixels?
Re: Automatic Thumnail creation doesnt work
Posted: 28 Jul 2008, 17:58
by mmeytin
tess63 wrote:Hi
I can't get thumbnails either. I've got around it by manually creating them and then uploading via ftp but that is time consuming.
The error message I get on trying to create them is as follows:
Fatal error: Out of memory (allocated 32505856) (tried to allocate 11264 bytes) in /home/sites/rec-diver.co.uk/public_html/administrator/components/com_phocagallery/helpers/phocagallery.php on line 881
Any ideas on how to fix this? I'm not a great php-er, by the way.
It is likely that your PHP installation is running out of memory needed to create the images. If you have control over your global php configuration, you can try changing memory_limit parameter in php.ini to a higher value. Default is 8MB, I had mine changed to 64MB so that Joomla and associated extensions, including Phoca Gallery would work reliably. I currently do not have any problems generating thumbnails with Phoca Gallery and relatively large Jpeg files.
Hope this helps,
-M-
Re: Automatic Thumnail creation doesnt work
Posted: 28 Jul 2008, 18:08
by Sunlust
mmeytin wrote:tess63 wrote:Hi
I can't get thumbnails either. I've got around it by manually creating them and then uploading via ftp but that is time consuming.
The error message I get on trying to create them is as follows:
Fatal error: Out of memory (allocated 32505856) (tried to allocate 11264 bytes) in /home/sites/rec-diver.co.uk/public_html/administrator/components/com_phocagallery/helpers/phocagallery.php on line 881
Any ideas on how to fix this? I'm not a great php-er, by the way.
It is likely that your PHP installation is running out of memory needed to create the images. If you have control over your global php configuration, you can try changing memory_limit parameter in php.ini to a higher value. Default is 8MB, I had mine changed to 64MB so that Joomla and associated extensions, including Phoca Gallery would work reliably. I currently do not have any problems generating thumbnails with Phoca Gallery and relatively large Jpeg files.
Hope this helps,
-M-
Yeah that should help, I was fixing the error from the roundabout if to say, where is php.ini located?
Re: Automatic Thumnail creation doesnt work
Posted: 28 Jul 2008, 20:37
by tess63
[quote="mmeytin"][quote="tess63"]Hi
I can't get thumbnails either. I've got around it by manually creating them and then uploading via ftp but that is time consuming.
The error message I get on trying to create them is as follows:
Fatal error: Out of memory (allocated 32505856) (tried to allocate 11264 bytes) in /home/sites/rec-diver.co.uk/public_html/administrator/components/com_phocagallery/helpers/phocagallery.php on line 881
Any ideas on how to fix this? I'm not a great php-er, by the way.[/quote]
It is likely that your PHP installation is running out of memory needed to create the images. If you have control over your global php configuration, you can try changing memory_limit parameter in php.ini to a higher value. Default is 8MB, I had mine changed to 64MB so that Joomla and associated extensions, including Phoca Gallery would work reliably. I currently do not have any problems generating thumbnails with Phoca Gallery and relatively large Jpeg files.
Hope this helps,
-M-[/quote]
Thanks for the replies. According to the Joomla system information my memory_limit is 128M. Anything else I might try?
Tess