Member
Member
qb84   28-06-2012, 14:19
#1

Hello again.

I have a gallery with over 86K images with 9 main categories. Whenever I go into the admin section and click on the Album tab it takes about 5-10 minutes for the website to finish loading those 9 items. It seems like it is loading ALL the files instead of just those main folders. It pretty much makes the Album tab useless to edit or move files around.

Can someone explain what goes behind the scenes with the Album tab? Perhaps someone can fix this for the next release?

Thanks again you guys have a great piece of software!

Useful info


86586 Images
2455 Albums

Zenphoto version 1.4.2.4 [10045] (Official Build)
Current locale setting: English_United States.1252
PHP version: 5.4.4
Graphics support: PHP GD library bundled (2.0.34 compatible)
PHP memory limit: 3G
MySql version: 5.5.25

Administrator
Administrator
acrylian   28-06-2012, 14:55
#2

Disable the random thumbnail selection is the foremost thing you should do. Otherwise Zenphoto will pick one randomly for every album displayed and if that is not cached and you also have huge dimension images it has a lot to do at one time.

Also disable showing more than one album level and possibly reduce the number of top level albums.

If you search the forum a little you find probably older topics about this.

Member
Member
qb84   28-06-2012, 15:36
#3

I have it set to pick up the first thumbnail it finds and only one album level.

That's why I'm confused as to why it takes so long. I would understand if it was showing ALL the files but it only shows the main 9 albums. (at least on the main Album screen). Every time I click on an album I have to shutdown Apache because it keeps on going and going and..... . So for now I'm doing all the changes on the actual folders instead of using the Album tab.

Administrator
Administrator
acrylian   28-06-2012, 15:53
#4

You really should pick a specific album thumbnail, not the latest.

Member
Member
qb84   28-06-2012, 16:11
#5

the first one (filename), not latest. And how would I pick it if I can't load Album page?

Anyway I searched the forums and commenting out the genAlbumUploadList() function seems to help a lot.

http://www.zenphoto.org/support/topic.php?id=10369

Thank you

Administrator
Administrator
acrylian   28-06-2012, 16:28
#6

You can access actually each album directly via the admin toolbox from the front end. So you don't need the album list.

I have to consult my colleague about what this function is doing as I am not familiar with those parts right now.

Member
Member
sbillard   28-06-2012, 18:47
#7

That function has no direct bearing on the thumbnails. As the topic says, it is used in the move/copy/rename feature. Not sure why this would take so much time. Mostly it is instantiating an object and checking rights to see if you are allowed to access the album.

Member
Member
qb84   28-06-2012, 20:38
#8

There's definitively something wrong with that function as it works great without it . (At least with large galleries). Everything seems to be working smooth now, hopefully you guys can figure out what's up in the next version.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.