Hi
Thank you very much for this superb component. I would like to ask for help regarding speed of this component. My gallery s full of pictures and I reached limit that I can not overpass. I have about 450 galleries with each containing around 60 pictures (so total about 27000 pictures). And now I have problem to add any other picture. When I access administration I have no problem to open list of categories or any other Joomla or 3rd party component. But when I try to open images (to be able to use Batch add) I always see timeout 30s. Length of list is 20 pictures per page.
Is there any possible solution to this? Thank you very much
=========================================
Ahoj
díky za tuto super komponentu. Chtěl bych se zeptat na problém který mám. Jedná se o administraci, respektive zobrazení a přidávání fotografií v administraci. Mám v Phoca Gallery cca 27000 fotek, tedy fakt dost. Původně jsem to měl v Zoom, pak Ice Gallery a nakonec konvertoval do Phoca. Ale teď jsem narazil na strop kdy už nemůžu přidat nic dalšího. Hosting mám u Web4CE (Business s 200MB PHP memory_limit a 30s max_exec_time). Každopádně když se snažím v administraci otevřít seznam obrázků, tak vždycky dostanu timeout: libraries/joomla/filesystem/file.php on line 367
Délku seznamu mám nastavenou na 20 obrázků.
Děkuji za každou pomoc.
Administration - showing images tooooo slooooow
-
Martajz
- Phoca Newbie

- Posts: 3
- Joined: 20 Sep 2010, 20:45
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Administration - showing images tooooo slooooow
Hi, count of images is not a problem as pagination is used.
The problem can be count of categories (but 450 should be Ok) because categories are displayed in tree, all categories needs to be loaded to display them in the select box.
The next problem can be automatically creating of thumbnails, this function needs to check all the images to check if it has or does not have thumbnail. This can be easily changed in parameters, so you will set Pagination thumbnail creation, now the function will only check images listed on the site, so if you have not created the thumbnails you need to click on every site to create them automatically but you have no problems with limit, see:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
Pagination Thumbnail Creation
And check the Info site in administration if all required settings are set to default.
It means, first you should check if all functions are enabled/disabled like it is recommended. If this will solve the problem, it is OK, if not then maybe the problem will be in listing the tree of categories (then modification to the code needs to be done - e.g. filtering categories in select box needs to be disabled, etc.)
Jan
The problem can be count of categories (but 450 should be Ok) because categories are displayed in tree, all categories needs to be loaded to display them in the select box.
The next problem can be automatically creating of thumbnails, this function needs to check all the images to check if it has or does not have thumbnail. This can be easily changed in parameters, so you will set Pagination thumbnail creation, now the function will only check images listed on the site, so if you have not created the thumbnails you need to click on every site to create them automatically but you have no problems with limit, see:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
Pagination Thumbnail Creation
And check the Info site in administration if all required settings are set to default.
It means, first you should check if all functions are enabled/disabled like it is recommended. If this will solve the problem, it is OK, if not then maybe the problem will be in listing the tree of categories (then modification to the code needs to be done - e.g. filtering categories in select box needs to be disabled, etc.)
Jan
If you find Phoca extensions useful, please support the project
-
Martajz
- Phoca Newbie

- Posts: 3
- Joined: 20 Sep 2010, 20:45
Re: Administration - showing images tooooo slooooow
Yes, thank you very much for help.
Simply after switching off thumbnails creation everything works much faster in administration.
So is possible to create thumbnails for new images using button Recreate Thumbnails??
Thank you very much!
Simply after switching off thumbnails creation everything works much faster in administration.
So is possible to create thumbnails for new images using button Recreate Thumbnails??
Thank you very much!
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Administration - showing images tooooo slooooow
Hi, no, for this there is pagination thumbnail creation, which only use pagination (if you set e.g. 20 for pagination, then there is no problem to create thumbnails automatically)
Jan
Jan
If you find Phoca extensions useful, please support the project