• Resolved Guy Scharf

    (@guy-scharf)


    I’ve just installed Nextgen 2.0.66.29 on a new site running WordPress 4.0.1. I have a staff directory page with photos for each person. Photo is displayed with [singlepic id=9 mode=watermark w=100 float=left], with different id for each photo of course. There are 12 singlepic shortcodes on the page.

    When I click on the image, a full-sized image appears in a lightbox for some images. For others, the image is opened in a separate browser tab without any lightbox effect.

    What would cause this difference in behavior, and how can I control it?

    https://ww.wp.xz.cn/plugins/nextgen-gallery/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @guy Scharf – That sounds like an issue with your shortcode syntax in some images. I’d suggest going to the page, switching to the text tab, and retracing your steps – ensuring that the syntax being used is correct and works.

    -Drew

    Thread Starter Guy Scharf

    (@guy-scharf)

    The problem wasn’t the shortcodes — they were absolutely uniform. When I looked at the web page source, I saw that the src= statements were different for some. After some experimentation, I found the problem seemed related to the lightbox effects option setting at the time the image was uploaded vs when the page containing the shortcode was viewed. For example, if images were uploaded when effect=fancybox but page viewed when effect=none, the fancybox still appeared for the previously uploaded images. But for new images, the images appeared in a separate window (as expected for lightbox effect=none). At one point in my testing, with lightbox effect set to thickbox, clicking on the image resulted in a thickbox appearing on top of a fancybox for the same image.

    I have now gotten it settled down where fancybox works everywhere. I’ve reuploaded a few images and am not trying other lightbox effect settings. I did not do any further debugging to try to isolate the behavior.

    Plugin Contributor photocrati

    (@photocrati)

    @guy Scharf – Thanks for the update and our apologies for the inconvenience of having to correct the SinglePic insertions.

    This has to do with how shortcode structures are written and saved to the post/page and one of the significant reasons we are looking at adding the insertion of SinglePic displays to the IGW to reduce if not remove this “problem” going forward.

    – Cais.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Lightbox does not always work’ is closed to new replies.