Page 1 of 1
Thumbnail not recreating manually in Images
Posted: 18 Jul 2014, 22:26
by Cherchez
Joomla 3.3.1, Phoca Gallery 4.1.1 Folder permissions of thumbs folders = 755.
With Options | Thumbnails | Enable thumbnails generation = Yes, then select Images, thumbnails create OK for new images in first category, then automatic thumbnail creation fails in second category. Phoca Gallery then automatically sets Enables thumbnails generation = Off.
To experiment I then select Images & click the icon "Recreate thumbnails" against an individual image. This deletes the thumbnails for that image, but does not recreate them. Is this expected?
Why would automatic thumbnail generation fail on the second category?
Permissions for all categories are: Access = Public | Access rights = All registered users.
Thanks for your help.
Re: Thumbnail not recreating manually in Images
Posted: 19 Jul 2014, 00:22
by Jan
Hi, Phoca Gallery cannot disable the option so this can be done per clicking on the "stop thumbnail creation" link.
The generation fails in case:
- there is some php error
- GD library (which creates thumbnails on your site) does not have enough memory or time for creating thumbnail
- Joomla! method JFile or JFolder cannot write files or folders on your server
https://www.phoca.cz/documents/2-phoca-g ... em-solving
Jan
Re: Thumbnail not recreating manually in Images
Posted: 19 Jul 2014, 11:19
by Cherchez
Thanks Jan,
I had read the problem solving page. Here's my problem:
"Automatic thumbnail creation works OK. Manual creation in Images | Functions | "Recreate thumbnails" for an individual image fails. Phoca gallery returns green "Message: Thumbnail(s) regenerated" but this isn't true - Thumbs folder does not contain thumbnails for this image." I have around 10,000 images in Phoca Gallery (its so good!) - is this likely to be "too many"?
there is some php error
error.log is empty
Joomla! method JFile or JFolder cannot write files or folders on your server
Automatic creation works OK, so presumably not this. Folder permissions of thumbs folders = 755.
GD library (which creates thumbnails on your site) does not have enough memory or time for creating thumbnail
I find this difficult to diagnose - I increased memory_limit but no change.
CPanel stats
Physical Memory Usage 493.1 / 1024 MB
Virtual Memory Usage 0 / 1024 MB
php.ini Resource Limits:
max_execution_time = 30
max_input_time = 60
max_input_vars = 1000
memory_limit = 256M ;New value
;memory_limit = 128M Original value
As always, thanks for your assistance.
Re: Thumbnail not recreating manually in Images
Posted: 21 Jul 2014, 00:01
by Jan
Hi, there is no difference between creating thumbnails automatically or per button - the only one difference is count of images which are transformed to thumbnails:
- if new images are added - thumbnails are made from all images
- if new images are added and pagination thumbnail creation is enabled - only images on one page are transformed to thumbnails - this should be used in case of problems with memory - the thumbnails are made step by step by pagination
- if you click to recreate - only selected images will be transformed to thumbnails.
But the method is always the same - thumbnail generation must be enabled by all of them, the only one difference between the methods, is the count of images which will be transformed.
Jan