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

    (@photocrati)

    @duce: are you unable to change the path at all, or is it just not allowing a change to the root?

    Thread Starter duce

    (@duce)

    Just not allowing to change to root: gallery/
    It reverts back to: wp-content/gallery

    I quickly tried changing this line in file: class.nextgen_settings_installer.php

    $this->_local_settings = array(
                            'gallerypath'    => 'gallery',

    And it seems to kinda work.
    However importing folders it defaults to import files from: plugins, themes, uploads.

    Thread Starter duce

    (@duce)

    Okay, seriously please.
    This is a make or break situation for me.

    If I cannot set the gallery folder to the root folder of the website I have to start looking at using another system altogether. And I have 10+ websites running NextGen. It would be a waste of money purchasing the pro version.

    I have just tested in all ways possible to get the layout and gallery and file paths sorted.

    My galleries consists of main folders with lots of sub folders.
    Example:
    domain.tld/gallery/
    domain.tld/gallery/Flowers/
    domain.tld/gallery/Flowers/2013/
    domain.tld/gallery/Flowers/2013-08-09/
    domain.tld/gallery/Flowers/2013-08-09/Orange/

    All image files are uploaded using SCP (like FTP) to the websites. From there the Add Gallery / Images -> Import Folder is used to import the images and it creates the thumbnails.

    It however does not create the thumbnails in the folder the images are located but in fact creates a new “orange” folder in domain.tld/gallery/

    Please can we give this some priority as I have sites doing over 2 million hits a month and would really love to go for the Pro version with all its nice features such as social sharing.

    Thread Starter duce

    (@duce)

    And to this day not one single response!

    I also need to import folders form my site root e.g mydomain.tld/ but so far there doesn’t seem a way to do this in next gen. I might have to seek out alternatives too.

    Plugin Contributor photocrati

    (@photocrati)

    @duce, @c-m – Currently either (you only need one of them) of these definition statements added to your wp-config.php will allow for importing from the root of your WordPress installation:

    define('NEXTGEN_GALLERY_IMPORT_ROOT', ABSPATH);
    define('NEXTGEN_GALLERY_IMPORT_ROOT', dirname(__FILE__) . '/');

    Please note, with our next release the NEXTGEN_GALLERY_ prefix will be changing to NGG_ … if you use these definitions you will need to modify them after the next update.

    Neither of those work.

    Here’s the scenario.

    My site is at https://www.mydomain.com

    All of my wordpress files are in https://www.mydomain.com/wordpress

    All of my images are in https://www.mydomain.com/assets/images (this is where I’ve set nextgen to upload to)

    Using your code above will only let me import from within https://www.mydomain.com/wordpress

    I need to be able to import from https://www.mydomain.com/assets/

    hope that helps make it a bit clearer.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Image location’ is closed to new replies.