• Resolved DoubleSixx

    (@doublesixx)


    Hello,

    I just tried to upload a small zip file that contained three directories.

    I dragged and dropped when the upload was complete and I clicked the link to edit the album, I discovered only the first four pictures in the very first directory of the zip file were uploaded.

    Nggallery ignored the following 18 pictures in two other directories.

    Old nggallery pre photocrati would upload the entire zip file.

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

    (@photocrati)

    @doublesixx – Our upload feature sets in general do not support a folder structure although thanks for the feedback on what NextGEN Legacy did offer previously.

    Going forward, the best approach to using “zip” files to upload images is to only include the images (not necessarily the folder) in the archive as they will only be added to a single gallery.

    Thanks, again!

    – Cais.

    Thread Starter DoubleSixx

    (@doublesixx)

    @cais,

    All legacy version prior to the new framework. I believe any before 2.x.

    Just more difficult. Before just upload a large zip. I need the directories, I save the zip on the server. Often times my galleries have several hundred pictures, and can be several hundred megs in size, and I update galleries later too.

    I use to upload the zip and use the url path to populate the gallery.

    No real easy way to continue maintaining galleries quickly.

    Plugin Contributor photocrati

    (@photocrati)

    @doublesixx – You can still upload the zip file and unzip on the server (provided you have the appropriate access) and then use the import feature set under Gallery > Add Gallery / Images … you can then retain the folder structure by using the leave images in their original location option although you will still need to import one folder at a time.

    Thanks!

    – Cais.

    Thread Starter DoubleSixx

    (@doublesixx)

    @cais,

    I retest now. You had mentioned this to me before and it didn’t work. I don’t remember the problem. I’ll test soon, thanx.

    Plugin Contributor photocrati

    (@photocrati)

    @doublesixx – Sure thing … let us know what you find.

    – Cais.

    Thread Starter DoubleSixx

    (@doublesixx)

    @cais

    The import folder won’t work. Can’t access any directories on the server outside the WordPress installation.

    You really should check the legacy versions. Many great features. Including those in the current build(s) will improve the plugin.

    Plugin Contributor photocrati

    (@photocrati)

    @doublesixx – By default the import functionality does not extend outside of the WordPress /wp-content/ folder although there are ways to work around that.

    Have you tried adding the following to your theme’s functions.php file:

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

    Thanks!

    – Cais.

    Thread Starter DoubleSixx

    (@doublesixx)

    @cais,

    Just tried, the code broke the site.

    Plugin Contributor photocrati

    (@photocrati)

    @doublesixx – Sorry to read that happened, obviously that code will need to be removed from where you added it although I do not have any other suggestions to make as we have not had any reports of those pieces of code causing any issues in the past.

    Thanks!

    – Cais.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Zip upload problem’ is closed to new replies.