• Resolved konstantinus

    (@konstantinus)


    Manage Albums is very slow when the number of galleries exceeds 5000.
    I have a task to upload more than a million photos to 50 thousand galleries.
    So far, I have uploaded over 100,000 photos (5000 galleries). When I try to organize them into albums, the system does not respond.
    I have my own Dell R740 server. The average load is 3%. So the problem is not with the hosting.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi @konstantinus,

    Unfortunately, we are aware of “Manage Albums” being slow on sites with a very large amount of galleries and albums, sorry about that.

    Our development team looks forward to improve the Manage Albums UI and resolve the slow queries.

    Mihai,

    While the dev team is looking at that issue, having a large number of galleries causes a similar issue with the block to add a gallery (the one shown here).

    If you have a large number of galleries, the pop-up becomes unresponsive for a time when you open it. I have about 2,000 galleries, and I have to wait about 60-75 seconds for it to become responsive before I can do anything with it. It’s not fatal because it does work, it just takes several minutes to accomplish tasks that should take a few seconds.

    • This reply was modified 1 year, 2 months ago by PostmasterGS.
    Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi @postmastergs,

    Thanks for your report. The dev team is aware of this problem, and we look to have it fixed in the future. It basically happens due to multiple queries (one per each tab) to load the entire list of galleries and albums.

    As a temporary workaround, you can add this PHP code snippet to your child theme’s functions.php to unset the other tabs except the main one, and this should greatly improve the IGW loading speed:

    class NGG_ArtOfHeadShots_Tweaks
    {
      public function __construct()
      {
        add_filter('ngg_attach_to_post_main_tabs', function ($tabs) {
          unset($tabs['albums_tab']);
          unset($tabs['galleries_tab']);
          unset($tabs['create_tab']);
          return $tabs;
        });
    
      }
    }
    
    new NGG_ArtOfHeadShots_Tweaks();
    • This reply was modified 1 year, 2 months ago by Mihai Ceban.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[NSFW] The maximum number of galleries?’ is closed to new replies.