Title: Multisite installation
Last modified: April 26, 2017

---

# Multisite installation

 *  Resolved [slparker67](https://wordpress.org/support/users/slparker67/)
 * (@slparker67)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/multisite-installation-29/)
 * Greetings!
 * I have activated the plugin on my new multi-site. I am able to access the default’s
   next gen images in that installation. However, is there a way I can duplicate
   those images in a subdomain site and then use them as a separate set of images?
 * I understand the plugin isn’t set up to have one set of images available for 
   the entire network, so that’s now what I’m asking.
 * Thanks!
    Stephen

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/multisite-installation-29/#post-9071519)
 * [@slparker67](https://wordpress.org/support/users/slparker67/) – The best I have
   to offer for this at the moment is the following:
 *     ```
       add_filter('ngg_datamapper_table_name', 'something', 10, 2);
       function something( $table_name, $name ) {
         global $table_prefix;
         if ( strpos( $table_name, ‘ngg' ) !== FALSE ) {
           return $table_prefix . $name;
         }
       }
       ```
   
 * That will provide all sub-domains with access to the main site’s NextGEN Gallery
   library (and all operations / modifications to the galleries etc. will also have
   to be done via the main site’s admin).
 * Thanks!
 * – Cais.
 *  Thread Starter [slparker67](https://wordpress.org/support/users/slparker67/)
 * (@slparker67)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/multisite-installation-29/#post-9084879)
 * Sorry for not responding sooner, Cais!
 * I do appreciate your help- this will help a lot!
 * Thanks for your efforts! I love NextGEN and at the next opportunity I have, will
   be upgrading to a paid version.
 *  Thread Starter [slparker67](https://wordpress.org/support/users/slparker67/)
 * (@slparker67)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/multisite-installation-29/#post-9084949)
 * One last question – what do I add the above code to? wp-config? or another? My
   apologies.
 * Stephen
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/multisite-installation-29/#post-9086115)
 * [@slparker67](https://wordpress.org/support/users/slparker67/) – A custom code
   plugin or the current main site theme’s functions.php file would be best.
 * Thanks!
 * – Cais.
 *  Thread Starter [slparker67](https://wordpress.org/support/users/slparker67/)
 * (@slparker67)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/multisite-installation-29/#post-9087291)
 * Thank you again! 🙂
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/multisite-installation-29/#post-9089636)
 * [@slparker67](https://wordpress.org/support/users/slparker67/) – You’re welcome!
 * – Cais.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Multisite installation’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/multisite-installation-29/#post-9089636)
 * Status: resolved