Is there any work around available not to collect the Dir-Info in advance? Specialy while collecting the root dir info.
I have about 300.000 photos within about 20.000 folders and you can imagine that it will take hours before a gallery will be loaded
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have over 100 folders and about 1800 pictures. It seems to check the folder layout on EVERY page, and it takes a good 20-30 seconds just to flip to the next picture. If there was a way to turn off folder checking and just have an option in the admin panel to rebuild the tree, then i might actualy be able to use this.
I've written perl code that performs a similar task. To save time i have it only check certain time consuming tasks when the site first loads. there is a small link on all pages to run these tasks again. Something like this would be a major performance boost.
Is there any way in a config file to disable folder tree checking? just as a temorary fix?
Dont get me wrong, this code rocks. I've tried it on small folder trees and it works great. This issue seems to be the only major thing keeping me from using it regularly.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just realized that i was assuming it was storing the list of directories somewhere, but it doesnt seem to do this. I highly recomend setting this up. For the moment i'm going to try to figure out how to cut out the function that loads the folder pulldown menu
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Original poster-
The following is what i did as a temporary fix.
In the wrapper.php file, you will find the following 2 lines of code in 2 different places-
$whole_tree = array();
getDirTree($filesystem_pAG_path_abs, $whole_tree);
If comment out all 4 lines, it will skip the folder tree search.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there any work around available not to collect the Dir-Info in advance? Specialy while collecting the root dir info.
I have about 300.000 photos within about 20.000 folders and you can imagine that it will take hours before a gallery will be loaded
hmm... puh. thats a lot.
i will take a look at that.
maybe a parameter to turn the recursive directory scanning off.
I have over 100 folders and about 1800 pictures. It seems to check the folder layout on EVERY page, and it takes a good 20-30 seconds just to flip to the next picture. If there was a way to turn off folder checking and just have an option in the admin panel to rebuild the tree, then i might actualy be able to use this.
I've written perl code that performs a similar task. To save time i have it only check certain time consuming tasks when the site first loads. there is a small link on all pages to run these tasks again. Something like this would be a major performance boost.
Is there any way in a config file to disable folder tree checking? just as a temorary fix?
Dont get me wrong, this code rocks. I've tried it on small folder trees and it works great. This issue seems to be the only major thing keeping me from using it regularly.
Thanks
I just realized that i was assuming it was storing the list of directories somewhere, but it doesnt seem to do this. I highly recomend setting this up. For the moment i'm going to try to figure out how to cut out the function that loads the folder pulldown menu
Sorry to hog this thread.
Original poster-
The following is what i did as a temporary fix.
In the wrapper.php file, you will find the following 2 lines of code in 2 different places-
$whole_tree = array();
getDirTree($filesystem_pAG_path_abs, $whole_tree);
If comment out all 4 lines, it will skip the folder tree search.