NextGEN Gallery
[resolved] Multisite Compatibility? (14 posts)

  1. markb1439
    Posted 5 years ago #


    Is the plugin MU/multisite compatible? I did search, and found both conflicting and inconclusive reports.



  2. tonyzeoli
    Posted 5 years ago #


    NextGen Gallery is multi-site compatible.

    Once you install your sites, you'll need to set the path in Super Admin - Next Gen Gallery - Gallery Path to:


    You must keep the trailing slash ["/"] at the end of "files/".

    If it doesn't work properly at first, you should reset NextGen Gallery from its Options panel, then try it again.

    I had a bit of a hard time making it work, but now it's working fine. I am having an issue on one of my servers, which is not allowing the Flash uploader to work properly, but single uploads still works fine.

    What will happen is that NextGen will autocreate Blog ID 1, once you set the path. NextGen will no longer point to wp-content/uploads/gallery. It will redirect to wp-content/blogs.dir/files/1/gallery or 2, 3, 4...etc..., depending on how many sites you've got.

  3. dave8057
    Posted 5 years ago #

    Wow, great timing on this Q/A. Thanks Tony/Mark!

    I was actually stumped on how to get the "Upload a Zip-File" option back in place and the Super Admin menu has that option available as well.


  4. markb1439
    Posted 5 years ago #


    Thank you so much!


  5. markb1439
    Posted 5 years ago #

    BTW, should it be Network Activated, or should I use a plugin manager to allow all users to turn it on?

  6. cheezitman
    Posted 5 years ago #

    I'm getting

    Please update the database of NextGEN Gallery. Click here to proceed.

    In my Multisite sites. It works fine with the root Blog, but subsites are failing. Resetting Nextgen doesn't do anything.

    If I run through the update I get:

    Could not find NextGEN Gallery database tables, upgrade failed !

    Upgrade finished...

  7. chickenrun
    Posted 5 years ago #

    I'm unable to load images in sub-sites (as sub-site admin), when I try to upload I always get the error: Directory ####/wp-content/blogs.dir/2/files/prova-admin contains no pictures.
    Many thanks


  8. Supracorona
    Posted 5 years ago #

    I have same problem... In fact, I had the same problem. :)
    NextGen uploader just do not work with multisite.

    But ... try something:
    - upload pics manually through FTP - put pics into correct folder - eg. wp-content/blogs.dir/1/files/your-gallery-01
    - go to admin panel - Gallery >>> Manage Galery
    - than select your gallery and click on "Scan folder for new images"
    - you'll be surprised :D

  9. Andreas Beer
    Posted 5 years ago #

  10. Guido Schlabitz
    Posted 5 years ago #

    I had trouble with uploads and thumbnails also. I got the uploads working by disabling the Flash uploader, but no thumbnails still. When I clicked on "Edit thumb" in the gallery, I got an error about PHP needing the GD library. Installed that with:
    sudo apt-get install php5-gd

    And now everything seems to work. Yay!

  11. Jotswana
    Posted 5 years ago #

    The Upload is working fine now and the thumbnails get generated. My Only Problem is, that I canĀ“t see the thumbs or the images from the backend or the wordpress page. The Link is somehow wrong:

    should be something like:

    I use the wordpress-mu-domain-mapping SnapIn. Probably this is the bad guy. Is there a way to relocate the file for http Requests? Should I write some mod_rewrite conditions?

  12. Jotswana
    Posted 5 years ago #

    for anyone who is interested or having the same issue, here is the htaccess mod rewrite code that works for me:
    RewriteRule ^wp-content/blogs\.dir/([0-9]+/)(.*) wp-content/$2 [L]

  13. sitebuildernow
    Posted 5 years ago #

    Maybe someone can help - I have nextgen 1.7.4 on wp multi 3.1. My next gen galleries simply won't create the thumbnails. It looks like it is - even says "100%" but the thumb folder remains empty. In an attempt to track the problem I tried "editing the thumbnail" from within the manage gallery area - I get these errors (below) I thought maybe they would give one of you gurus a hint as to what my problem could be (my guess is these errors are a result of no thumbnail being in the directory but...?

    Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /home/****/public_html/wp-content/plugins/nextgen-gallery/lib/gd.thumbnail.inc.php on line 357

    Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/****/public_html/wp-content/blogs.dir/5/files/kitchen-bath/Thompson_Left_Side_Kitchen.jpg' is not a valid JPEG file in /home/betterwe/public_html/wp-content/plugins/nextgen-gallery/lib/gd.thumbnail.inc.php on line 357

    Warning: Division by zero in /home/****/public_html/wp-content/plugins/nextgen-gallery/lib/gd.thumbnail.inc.php on line 569

    Warning: Division by zero in /home/****/public_html/wp-content/plugins/nextgen-gallery/lib/gd.thumbnail.inc.php on line 595

    Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/****/public_html/wp-content/plugins/nextgen-gallery/lib/gd.thumbnail.inc.php on line 861

    Warning: Division by zero in /home/****/public_html/wp-content/plugins/nextgen-gallery/admin/edit-thumbnail.php on line 42

  14. S Johanna
    Posted 4 years ago #

    Hi, I don't know if anybody had the same problem: I have NextGen installed on a Multisite, and everything works fine except if I click on the pagination...

    If I click on "2", the link is "?nggpage=2&page_id=2" so it seems, not to go on the page 2 of the gallery but to go into page 2 of the site.

    Anybody has the same issue?

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic