• Resolved grl570810

    (@grl570810)


    I have a website with 12 galleries, each on a separate page. On the front page I place an Album which consists of the preview images for the galleries. All well and good, pretty standard stuff and it used to work perfectly.

    A while back (I believe with the advent of WP 6.0) I found that if the preview image for a gallery was changed, that change did not reflect into the album, it continued showing the previous image or, if that image had been removed from the site, a broken image link. As was recorded in post https://www.ads-software.com/support/topic/preview-image-not-showing-2/ I found the workaround that the NGG Clear Image Cache function resulted in the correct image being picked up. A bit of a PITA but the preview images are changed infrequently enough to allow me to live with it.

    Now, even that workaround no longer corrects the situation. I believe that things changed with WP 6.1. The only method I have found to get the correct images to show is to remove the album from the pages on which it features, completely delete the album, create a new one and then put that back on the necessary pages. That is clearly not a suitable solution long term.

    The site is running WP 6.1.1 en-AU with NGG 3.35. Wordfence security is installed. There is no caching module active on the site at present (I disabled it in case that was causing the problem). Please can you address this apparent bug.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Jaime Segura

    (@jaimeimagely)

    Hi,

    Depending on your hosting company or plan there might be a server side cache that you cannot see in WordPress. I would check that with them first.

    Do you have any plugin like jetpack? Its lazyload or css and js minify options can break NGG functionalities. Try checking for conflicts with other plugins too.

    Please keep me posted.

    Thread Starter grl570810

    (@grl570810)

    Hi Jaime,
    I run the hosting server myself, and there’s definitely no server side caching involved. I’ve already run through disabling plugins with no effect. No Jetpack; the only similar thing is WP-Optimize but it’s not got either caching or minification on as I suspected those as a possible cause. The only thing I can point at as having changed the behavior of the site since it was first implemented is the change in version of WordPress; each time that has undergone a major shift the issue has got worse.

    Plugin Contributor Imagely

    (@imagely)

    @grl570810,

    This is definitely not something we could replicate. We always use the latest WP versions in our tests and its not even requiring us to do any additional manipulations with the cache to see the changed gallery preview images.

    Could you please let us know what does WP Optimize for your site?

    Thread Starter grl570810

    (@grl570810)

    WP Optimize is only being used to compress images as they are added to the site (it uses reSmush.it for that). However, to the best of my knowledge it only works on images uploaded via the WordPress Media page, it won’t be touching anything uploaded through NGG. Since this site is now stable other than the NGG changes I will try removing WPO and see if that’s the source of the issue. I’ll let you know the results.

    Thread Starter grl570810

    (@grl570810)

    I’ve removed WPO from the site. That made no difference. I’m attaching a site report generated from Wordfence. Please advise further as to why this function is failing on my site.
    https://www.abbottsantiques.com.au/wp-content/uploads/2023/04/diagnostics_for_www.abbottsantiques.com_.au_.txt

    • This reply was modified 1 year, 8 months ago by grl570810.
    Plugin Contributor Imagely

    (@imagely)

    Hi @grl570810,

    Let’s try adding the following constant to your wp-config.php file to see if that’ll change anything:

    define(‘NGG_DISABLE_DYNAMIC_IMG_URLS’, true);

    Thread Starter grl570810

    (@grl570810)

    Sorry guys, that made no difference. Any other ideas to try?
    Please can you advise me where the information about the gallery preview image is stored, i.e. where is the code that displays the album looking to determine which image to show for each of the galleries? If you can advise me of that I can have a look at what is happening as I change the preview image and might be able to diagnose the issue.

    • This reply was modified 1 year, 7 months ago by grl570810.
    Plugin Contributor Imagely

    (@imagely)

    Hi @grl570810,

    Sure. Here’s the view file:

    nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_album/package.module.nextgen_basic_album.php

    You’ll find the logic that’s for retrieving the preview image below this comment:

    // Get the preview image url
    Thread Starter grl570810

    (@grl570810)

    Thanks for your assistance with this. I have now tracked the issue down to the theme in use on the site (Antique Mall by netbaseteam) so will be taking it up with them.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Updating Gallery preview image does not change image in Album’ is closed to new replies.