• Resolved visualcraftsman

    (@visualcraftsman)


    I have this strange issue I can not resolve with nextgen images. When I upload images to the gallery I created, they are not displaying on the page. However, I checked the gallery folder (via ftp) and they are all there. When I inspect the html in the browser, the new image’s href is correct but the img path is not. Here is a screenshot showing the difference in image paths…

    https://dl.dropboxusercontent.com/u/4436391/nextgenimg.png

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @visualcraftsman, hi devs,

    I had the same problem yesterday. Today I tried to make a reproduction list and I don’t have the problem. So here’s what I did now (which worked). I’m not 100% sure what I did yesterday where I had the exact same issue, meaning that the thumbnails didn’t show. One thing I can see from your image is that you have adjusted the gallery path (wp-content/gallery/tombstones…). I also did that and then the thumbnails were missing.

    In Other Options I used the “Reset Values” option have have a “clean install” of the plugin. Then I created a new gallery.

    In “Other options”:
    #1 I activated fancybox. Which works
    #2 Set default thumbnails to 330×220. That didn’t change thumbnail size for current gallery, which makes sense.
    In “Manage gallery”:
    #3 Bulk actions -> Create new thumbnails using “330×220”. Works, thumbnails are small now.

    I thought that the error occurs because of the next step
    in “Other options”:
    #4 Change Image Options path to store galleries from
    wp-content/uploads/sites/1/nggallery/ to something other, e.g.
    wp-content/uploads/MY_KEYWORD/gallery/

    So now the already created gallery has still the old “Gallery path” at Manage Galleries. If you adjust that you’ll get in trouble.

    Therefore I deleted the first created gallery. I also deleted all the files on the FTP server in the wp-content/uploads/sites/1/nggallery/ folder. Then I created a new gallery and it worked (this time).

    Thread Starter visualcraftsman

    (@visualcraftsman)

    Thanks for your input rlonau. I think what has happened is I had a hosting company do a fancy JS redirect that has something going on now with wp urls. You’ll notice that the gallery images that are showing up come from ‘test.kalilco/’ and the missing ones are going to ‘kalilco.com/’. This is because the images that are showing were already part of an existing gallery which was located on the original test site. The test site folder is now being pointed to instead of the root wp directory.

    I think I will try and recreate another gallery… but I still think there is something happening with the way nextgen handles uploading these gallery images. If I could figure out how to get nextgen to upload to the test.kalilco gallery folder, then I bet the images would show up. Maybe?

    Plugin Contributor photocrati

    (@photocrati)

    @rlonau – Thanks for sharing your experience and pointing to what should be the solution in general.

    @visualcraftsman – You may be experiencing a “migration” issue where, as noted, the paths are not correctly being generated/used. Please try our external Reset Tool plugin here: https://bitbucket.org/photocrati/nextgen-gallery-reset/get/default.zip

    To install and activate, go to Plugins > Add New … Upload Plugin
    To use, go to Tools > NextGEN Gallery Reset

    We do not offer specific support for the Reset Tool plugin as is but it can help in many circumstances such as cases where the path is not or no longer correct, please let us know if it does.

    Thanks!

    – Cais.

    Thread Starter visualcraftsman

    (@visualcraftsman)

    Thank you! I will try. Also fyi, I found that copying over the dynamic folder from the previous site’s gallery made some of the images show up. But, I have to manually create all the thumbs and rename them based on inspecting the missing image paths. The missing images show up once I place the new thumbs I made in the dynamic folder via ftp. What I want to avoid is having to wipe out the current gallery because all the images are custom sorted by hand so that they show in a particular order.

    Will the reset plugin wipe out the existing gallery and its image/thumbnail order?
    Thx!

    Thread Starter visualcraftsman

    (@visualcraftsman)

    I reset the gallery with the plugin but now when I upload a new image to the gallery there is no src path in the image tag. I see the images in their folders on the server but the code/linking is definitely not working.

    Plugin Contributor photocrati

    (@photocrati)

    @visualcraftsman – Are you uploading the images via Gallery > Add Gallery / Images?

    There may also be something creating a conflict on your site as well. Have you tried deactivating all of your plugins, clearing your browser cache (and site caches if you are using a caching plugin), then reactivating the NextGEN plugin?

    If this fixes the problem then it was likely one of the deactivated plugins that was causing an issue. Now, retrace your steps activating each plugin and re-checking to see if the problem returns. If it does then that last activated plugin was probably the one. Keep reactivating and in most cases it is also best to keep checking after each plugin, sometimes there may be more than one plugin on a site that will create an issue. If you do find one (or more) plugins causing this problem we would greatly appreciate your feedback on them so the developers may address them as soon as they can.

    Also to note, in rare cases it may be the theme itself that is causing a conflict so while you have just the NextGEN plugin activated you might consider temporarily switching to one of the default WordPress Twenty series themes and see if this corrects the issue as well.

    If the problem still persists after all of this we would still want to know, even more so, as we will still want to sort out the issue and may need additional details.

    Thanks!

    – Cais.

    Thread Starter visualcraftsman

    (@visualcraftsman)

    I have tried uploading via the ngg uploader and also dumping via ftp then scanning for new images on ngg. Both methods have not worked. I have also uninstalled ngg plugin and reset it. I’ve copied over the images to a new gallery as well and when I do that all the existing image paths are missing from the image tags.

    I may do a complete removal of nextgen altogether including db tables and try again. If this doesn’t work, then I’m out of options.

    Thread Starter visualcraftsman

    (@visualcraftsman)

    Well, I removed all of nextgen and dumped the database. Reinstalled plugin and re-uploaded images to a new gallery and still all the image paths are missing. Blah.

    Plugin Contributor photocrati

    (@photocrati)

    @visualcraftsman – Please try our external Reset Tool plugin here: https://bitbucket.org/photocrati/nextgen-gallery-reset/get/default.zip

    To install and activate, go to Plugins > Add New … Upload Plugin
    To use, go to Tools > NextGEN Gallery Reset

    We do not offer specific support for the Reset Tool plugin as is but it can help in many circumstances, please let us know if it does.

    Thanks!

    – Cais.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘NextGen Gallery Image Paths’ is closed to new replies.