Javascript Image Gallery Not Working
-
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!
- The topic ‘Javascript Image Gallery Not Working’ is closed to new replies.