WordPress.org

Forums

NextGEN Gallery
Terrible load times on big galleries. NG 2.0 will be better...? (2 posts)

  1. chmielopas
    Member
    Posted 1 year ago #

    Hello,

    On our charity site we have galleries with many photos inside. Some of galleries have 1000+ photos and it takes 60s+ just to load one page. You can see it here:

    http://marzycielskapoczta.pl/en/photos-of-sick-children-with-letters-and-postcards/

    It seems that Nextgen Gallery is not optimized for such big galleries (increasing server resources almost didn't help). I enabled slow_log to find out slowly executing scripts and here is the result:

    [0x00007f2f2cd047d8] icl_translate() /var/www/wp-content/plugins/nextgen-gallery/lib/core.php:354
    [0x00007f2f2cd04250] i18n() /var/www/wp-content/plugins/nextgen-gallery/lib/image.php:111
    [0x00007f2f2cd037c0] get_href_link() /var/www/wp-content/plugins/nextgen-gallery/lib/image.php:72
    [0x00007f2f2cd02a60] nggImage() /var/www/wp-content/plugins/nextgen-gallery/lib/ngg-db.php:258
    [0x00007f2f2cd01c40] get_gallery() /var/www/wp-content/plugins/nextgen-gallery/nggfunctions.php:161
    [0x00007f2f2cd018d0] nggShowGallery() /var/www/wp-content/plugins/nextgen-gallery/lib/shortcodes.php:240

    Is there anything I can do to fix this? Or maybe new version of Nextgen will work better with big galleries?

    Thanks in advance!

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. Jon Fergus
    Member
    Posted 1 year ago #

    Same issue here. My question is: why, when the gallery on our page only shows 6 thumbnails, does the site load a thumbnail for every single image in the gallery (over 200 in our case)? Our site is extremely slow right now because over 200 images have to be loaded each time, whether or not someone actually uses the gallery or not (gallery is used through the sidebar widget). If only the six thumbnails that are actually visible were loaded, it would be much, much faster.

    Also, to test the site, I removed the widget and deactivated nextgen, yet when I speed test the page, it still requires those thumbnails to load. Anyone know why this is?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic