• Hi All,

    I’m having an issue with my image gallery… The thumbnails for the images are working fine, however, I’ve lost all functionality of being able to browse through the image gallery. (See link for an example: https://contractsupply.mark2marketing.com/products/metal-chairs/pt-006/). You should be able to click on the image, which should generate a larger version, but it’s not working.

    I should also note that this site was transferred from my local computer to the server. This issue did not happen on the local version of the site…

    When looking at the source code, I also noticed that on the Javascript used to generate the image gallery, there are differences between the live & local version of the site.

    Live (Not Working):
    href="javascript:ShowGallery('', 'https://contractsupply.mark2marketing.com/wp-content/uploads/2011/01/PT006childseatlarge.jpg', 'picture', , )

    Local (Working):
    href="javascript:ShowGallery('', 'https://localhost/contractsupply/wordpress/wp-content/uploads/2011/01/PT006childseatlarge.jpg', 'picture', 363, 268)

    Note the 363, 268 (which are the image dimensions) missing from the live version. I’m thinking this is the problem… could it be that when I backed up the database from my local, these values didn’t get backed up?

    Any help would be much appreciated… thanks!

Viewing 1 replies (of 1 total)
  • I’ve had a similar problem in the last couple of weeks with 2 different sites on different servers. All of a sudden (due to a WordPress upgrade?) the thumbnails were linking to a new web page showing the larger image, rather than the popup viewer.

    I have fixed them now, but in and adhoc manner – one of them had Gallery Cleaner installed. I deactivated it, no help, then reactivated it, and it now works fine.

    The other, didn’t have Gallery Cleaner installed. I installed and activated it which fixed the popup situation, but the 3 column layout was now appearing as one column, even though 3-column script was present. I deactivated Gallery Cleaner again. Fixed layout but popup not working. Activated it again, back to one column layout. Deactivated again – everything fine!

    Neither site used any other gallery plugins. Just the default WordPress plugin.

    Sure all’s working fine for now, but that’s just a bit buggy and inconsistent. I thought it worth reporting.

Viewing 1 replies (of 1 total)
  • The topic ‘Javascript Image Gallery Not Working’ is closed to new replies.