WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] Delete image - broken image link remains (12 posts)

  1. Paper Bird
    Member
    Posted 5 months ago #

    Any time I delete an image from a gallery, a broken image link remains when viewed on the site.

    As a workaround, I have found that I can get the broken image link to go away by going to 'Sort Gallery' and clicking 'Update Sort Order'.

    This behavior exists with WordPress 3.8.1, Nextgen Gallery 2.0.40, any theme (including the default theme) and all other plugins removed.

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

  2. tizz
    Member
    Posted 5 months ago #

    @Paper Bird Probably it's the browser cache.

  3. Paper Bird
    Member
    Posted 5 months ago #

    Thanks tizz, but the broken image links are present when tested on different browsers and computers.

  4. lisalaw
    Member
    Posted 4 months ago #

    Same issue exactly as above, cleared browser cache and checked on all devices, broken image path still remains?

  5. photocrati
    Member
    Plugin Author

    Posted 4 months ago #

    @Paper Bird - Please try clearing the NextGEN Gallery image cache under Gallery > Other Options > Miscellaneous ... click the clear image cache button.

    @lisalaw - Although this may help with your situation, there is no way to know as it is nearly impossible for your to have "same issue exactly" unless you use the same web host, on the same server with the same theme, plugins, and content. There are almost no exceptions to the idea of it being best to create your own topic if you are having an issue ... no matter the plugin (or theme) you are seeing the issue with.

    Thanks!

    - Cais.

  6. lisalaw
    Member
    Posted 4 months ago #

    Many thanks, I am not a developer so obviously didn't mean we were in identical situations in terms of theme, content and web host though I am aware these can have an impact hence the switch to the installed wordpress themes to see if it made a difference, I merely meant in terms of the deleted image path remaining no matter what plugins I deactivated, theme switched etc etc, - will create own topic next time - apologies.

  7. photocrati
    Member
    Plugin Author

    Posted 4 months ago #

    @lisalaw - No worries, it was meant as a friendly reminder, my apologies if it read any differently.

    BTW, did clearing the NextGEN Gallery image cache work for you?

    - Cais,

  8. Paper Bird
    Member
    Posted 4 months ago #

    Thanks Cais.

    I cleared the image cache, Gallery > Other Options > Miscellaneous > Clear Image Cache.

    After doing that, I went to Manage Galleries > selected a gallery > Then clicked the 'delete' link for one of the images.

    I went to the page with the gallery and there is a broken link. (Text link with image border, but no thumbnail. Clicking the link results in a "requested content cannot be loaded" error.)

    So I clicked the 'Clear Image Cache' button again, refreshed the page with the gallery, and the link to the orphan image is gone.

    So...
    I suppose I can just expect to press either the 'Clear Image Cache' or 'Update Sort Order' buttons each time I've deleted an image from a gallery. Not too big of a deal, I suppose. Also, earlier versions of Nextgen didn't exhibit this issue.

    Thanks again for your reply.

  9. photocrati
    Member
    Plugin Author

    Posted 4 months ago #

    @Paper Bird - Thanks for letting us know your experience with this ... it has already been put forward to review the clear image cache functionality to see if/when it can be triggered by other actions where we have seen issues similar to yours reported.

    - Cais.

  10. lisalaw
    Member
    Posted 4 months ago #

    No probs Cais, I am still picking my way through the various forums etiquette of posting - some complain if you don't hijack a similar problem and start your own topic.
    The clearing the cache was as above and am happy to update sort order to move the broken link again. It's a work around that's not too inconvenient as in the page anyway. It's still by far the best gallery plugin out there.

  11. photocrati
    Member
    Plugin Author

    Posted 4 months ago #

    @lisalaw - Thank you for the compliment and we are happy to read things are sorted out for you, too!

    - Cais.

  12. Paper Bird
    Member
    Posted 4 months ago #

    @Cais - You're very welcome and thank you for looking into the issue.

Reply

You must log in to post.

About this Plugin

About this Topic