• Resolved bvo

    (@bvo)


    Hi all,

    I had to rebuild my site; also the galleries. I have a folder with the original images (a subfolder per album), so I thought its very easy to import each (sub)folder to a new gallery.

    In settings, I leave original foto’s alone and make the default wp-content/gallery map. I only adjust the thubmnail size (to 100×100).

    That went good for the first nine albums. But then the next album the album name and also map in wp-content-gallery was named “thumbs” instead of the original folder name. Also thumbnails were created double. I didn’t change the settings.

    Any ideas?

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

    (@photocrati)

    @bvo – The \thumbs\ folder is created by NextGEN Gallery you should not need to import it as the folder will be created as needed if/when the display is visited. It may also cause issues with duplicate thumbnail folders for the gallery as well, I would recommend reviewing your gallery folder structure and remove the duplicates if possible and/or remove the gallery and re-import only the “original” images into the new gallery folder.

    Thanks!

    – Cais.

    Thread Starter bvo

    (@bvo)

    Hi Cais,

    Thanks for your reply. I got it solved, somehow.

    I copied my the folder with al images from my backup to the server. Then I recreated all galleries one by one. Before I started all over, I used the image folder for the nexgen galleries and I left the images in there. Os a thumbnail folder was created in every folder. Now, I use the option to copy images per gallery to /wp-content/gallery.
    For some reason, when I delete the thumbs folder in the original image folder, the creation of the gallery works fine. When I leave the htumbs folder in the original folder, nexgen looks at that folder and copies the thumbnails to wp-content/gallery (and makes new thumbnails from it), and uses the name of the folder which is thumbs. So when I delete the thumbs folder it works fine. Altough I think a read that nextgen only look in the folder and not in subfolders?!

    Something completely different if I may…
    I created some galleries and the show up fine. Meanwhile, I’m playing with a (twentyseventeen) childtheme. And suddenly the gallery breaks up; no styling just a long row of images. It has to do with the child theme, so after a little playing with the adjustments I made, I found out that it has to do with the footer text. I copied over the site-info.php template part file, deleted the “proudly powered by” and replaced it with my own text. That works fine, I see my text. No errors. However, the gallery breaks. When I reverse my changes, the gallery works.
    So, there might be a little error in the php, that doesn’t effect the text I want to see, but does break your plugin 🙂

    Plugin Contributor photocrati

    (@photocrati)

    @bvo – If the images are being rendered but only in a single column it generally points to the JavaScript and/or CSS needed for the display not being loaded, have a look at what you are doing in your child theme as it related to calling wp_footer()

    Thanks!

    – Cais.

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

The topic ‘import folder to gallery fails’ is closed to new replies.