• Resolved Tiredavocado

    (@tiredavocado)


    Hi,

    I am just wondering, does NextGen allow us to import images from outside wp-content?

    I keep my media library files in a top level folder outside wp-content (but inside wordpress) and I would really, really prefer to keep my galleries in that folder.

    Can people actually do this using NextGen? At the moment I can’t get it to go higher than wp-content.

    https://wordpress.org/plugins/nextgen-gallery/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @tiredavocado – Try adding the following to your wp-config.php file:

    /** Change Import Folder path */
    define( 'NEXTGEN_GALLERY_IMPORT_ROOT', dirname(__FILE__) . ‘/' );
    define( 'NGG_IMPORT_ROOT', dirname(__FILE__) . '/' );

    See if that opens up for you.

    – Cais.

    Thread Starter Tiredavocado

    (@tiredavocado)

    Thanks for your help Cais, this is great! It works perfectly.

    I’m so glad NextGen has this functionality, it makes it a great choice for me!

    Note to anyone else who comes along with the same question as me and copies that code: the bit at the end of line two where it says

    ‘/' );

    should be

    '/' );

    Plugin Contributor photocrati

    (@photocrati)

    @tiredavocado – Thanks for pointing that out … “smart” quotes can cause all sorts of issues. I’ll adjust my code reference library.

    – Cais.

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

The topic ‘Gallery images outside wp-content?’ is closed to new replies.