Error with multiple galleries on a page
  • I have four image galleries on the same page. When I click an image in any of the first three, it only opens the first picture in that gallery. In the fourth gallery, the behaviour is normal. The galleries are created by a JS loop, so I know the markup is the same on them all. Has anyone else encountered this issue?
  • Can you provide a link to an example page so I can see this happen?

    Thanks!
  • Do you have multiple calls to prettyPhoto() with differing settings? Not the link tags to the images, but the JavaScript declaration.

    If so each one will overwrite the last, leaving only the settings for the last declare - possibly why your fouth gallery works.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter