Automatic Thumnail creation doesnt work

Phoca Gallery - image gallery extension
fred
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Jul 2008, 02:29

Automatic Thumnail creation doesnt work

Post 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
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Automatic Thumnail creation doesnt work

Post 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
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)
fred
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Jul 2008, 02:29

Re: Automatic Thumnail creation doesnt work

Post 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?? :idea:

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

Re: Automatic Thumnail creation doesnt work

Post 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
If you find Phoca extensions useful, please support the project
Sunlust
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 23 May 2008, 17:17
Location: United Kingdom (Great Britain)
Contact:

Re: Automatic Thumnail creation doesnt work

Post 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?? :idea:

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.
Last edited by Sunlust on 28 Jul 2008, 17:15, edited 1 time in total.
tess63
Phoca Member
Phoca Member
Posts: 18
Joined: 26 Mar 2008, 12:33
Location: United Kingdom (Great Britain)
Contact:

Re: Automatic Thumnail creation doesnt work

Post 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.
Sunlust
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 23 May 2008, 17:17
Location: United Kingdom (Great Britain)
Contact:

Re: Automatic Thumnail creation doesnt work

Post 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?
mmeytin
Phoca Member
Phoca Member
Posts: 13
Joined: 01 Jul 2008, 05:29

Re: Automatic Thumnail creation doesnt work

Post 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-
Sunlust
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 23 May 2008, 17:17
Location: United Kingdom (Great Britain)
Contact:

Re: Automatic Thumnail creation doesnt work

Post 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?
tess63
Phoca Member
Phoca Member
Posts: 18
Joined: 26 Mar 2008, 12:33
Location: United Kingdom (Great Britain)
Contact:

Re: Automatic Thumnail creation doesnt work

Post 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
Post Reply