WordPress.org

Ready to get started?Download WordPress

Forums

Lightbox Plus Colorbox
[Plugin: Lightbox Plus] Exclude certain pictures when auto-lightboxing is enabled (5 posts)

  1. schwarzbox
    Member
    Posted 4 years ago #

    As far as I can see, currently it is not possible to exclude some pictures from being auto-lightboxed (option auto-lightbox on).

    Am I right on that one or is there something like a css class e.g. 'nolightbox' that can be assigned to links/images which prevents any replacements?

    I could not find anything like that, so I tried to mess with the patterns/replacements. My first attempts still matched. Did it with positive/negative lookahead/lookbehind.

    Does anyone have a solution to patch this?

    http://wordpress.org/extend/plugins/lightbox-plus/

  2. Dan Zappone
    Member
    Plugin Author

    Posted 4 years ago #

    The next release will allow you to exclude images by setting rel="something-other-than-lightbox" when you have auto-lightbox on.

    RegEx will be replaced by an HTML parser.

  3. jonmrich
    Member
    Posted 3 years ago #

    Is this done? I'd like to exclude a link to a video so people can open it directly on YouTube instead of on the page (an alternative for people using iPhones, since you can't load the video in the Flash version that loads with lightbox).

    Thanks,
    JMR

  4. remodelvintage
    Member
    Posted 3 years ago #

    i'm a total noob with this but my solution was: <img class="aligncenter" style="border: none;" src="http://www.example.com/img.jpg" />

    the wordpress image insertion automatically hangs the <a href= code onto the picture, which causes the lightbox to appear. i still had a border around my image, which went away after adding style="border: none;"

  5. dEM0nsTAr
    Member
    Posted 3 years ago #

    I have published several posts on http://www.peleke.de/ and every picture is added to the same gallery and shows up in the slideshow of each post if you stay on that page and just click on one of the images.
    How can I only show the picture(s) from one post in one Lightbox?
    Thanks in advance.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic