Title: [Plugin: NextGEN Gallery] Import Folder &#8211; outside wordpress directory
Last modified: August 19, 2016

---

# [Plugin: NextGEN Gallery] Import Folder – outside wordpress directory

 *  [kevin2i](https://wordpress.org/support/users/kevin2i/)
 * (@kevin2i)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-import-folder-outside-wordpress-directory/)
 * My wordpress installation is in /wordpress, and thousands of images are in folders
   outside of my wordpress installation.
 * Is there something I can change so the import folder can look one step up the
   directory structure, starting at web root? (/)
 * Not sure what (or if) I can change something here:
    addgallery php – line 227
 * <!– import folder –>
    <div id=”importfolder”> <h2><?php _e(‘Import image folder’,‘
   nggallery’) ;?></h2> <form name=”importfolder” id=”importfolder_form” method=”
   POST” action=”<?php echo $filepath.’#importfolder’; ?>” accept-charset=”utf-8″
   > <?php wp_nonce_field(‘ngg_addgallery’) ?> <table class=”form-table”> <tr valign
   =”top”> <th scope=”row”><?php _e(‘Import from Server path:’, ‘nggallery’) ;?>
   </th> <td><input type=”text” size=”35″ name=”galleryfolder” value=”<?php echo
   $defaultpath; ?>” /> <?php _e(‘Import a folder with all images.’, ‘nggallery’);?
   > <?php if (SAFE_MODE) {?><?php _e(‘ Please note : For safe-mode = ON you need
   to add the subfolder thumbs manually’, ‘nggallery’) ;?><?php }; ?></td> </tr>
   </table> <div class=”submit”><input class=”button-primary” type=”submit” name
   = “importfolder” value=”<?php _e(‘Import folder’, ‘nggallery’) ;?>”/></div> </
   form> </div>

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

 *  [tester1](https://wordpress.org/support/users/tester1/)
 * (@tester1)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-import-folder-outside-wordpress-directory/#post-997585)
 * bump!
 * So how to import a directory other than inside wordpress\
    ?
 *  [lassizci](https://wordpress.org/support/users/lassizci/)
 * (@lassizci)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-import-folder-outside-wordpress-directory/#post-997586)
 * I’ve been struggling with the same problem. So far the only way (without code
   modifications) is to symlink the directory to somewhere under wordpress directories.
   That of course works on unix like systems.
 *  [tester1](https://wordpress.org/support/users/tester1/)
 * (@tester1)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-import-folder-outside-wordpress-directory/#post-997587)
 * So, how to modify the code?
 *  [Llasse](https://wordpress.org/support/users/llasse/)
 * (@llasse)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-import-folder-outside-wordpress-directory/#post-997596)
 * Given your directories:
 * root/pictures/stuff/ (the one to import)
    root/wordpress/ (your wordpress)
 * just type /../pictures/stuff/
 * so the /../ should do the work of importing folders outside your wordpress directory..
   hope this helps

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

The topic ‘[Plugin: NextGEN Gallery] Import Folder – outside wordpress directory’
is closed to new replies.

 * 4 replies
 * 4 participants
 * Last reply from: [Llasse](https://wordpress.org/support/users/llasse/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-import-folder-outside-wordpress-directory/#post-997596)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
