WordPress.org

Ready to get started?Download WordPress

Forums

Lightbox 2 not working quite well on 2.7 RC1? (23 posts)

  1. x3me88
    Member
    Posted 5 years ago #

    Hi,

    I just updated my blog to 2.7 RC1 and it seems that Lightbox doesn't add the necessary code to images automatically any more. All my images in previous posts (which already have it) are showing up in Lightbox, but new ones aren't added automatically.

    I am using it together with Flexible upload.

    Anyone had the same issue? Any help?

  2. JacksonHale
    Member
    Posted 5 years ago #

    Sort of.

    After going from 2.6.3 to 2.6.5 my posts now don't implement the lightbox view. Posts from 2.6.3 do.

    Since 2.6.5 now when you click on the photo it just jumps to a browser view.

  3. kooi2000
    Member
    Posted 5 years ago #

    Havin the same problem with the stable new 2.7 version. Also without the Flexible Upload plugin. Anyone?

  4. dancurranjr
    Member
    Posted 5 years ago #

    Yup, upgraded to 2.7 and lightbox is definitely busted.

    Anyone know of a stable replacement?

  5. mikey1
    Member
    Posted 5 years ago #

    Hi all, I'm using Shadowbox JS now on 2.7 final.
    It works great.

    http://wordpress.org/extend/plugins/shadowbox-js/
    hope this helps.
    mike.

  6. kooi2000
    Member
    Posted 5 years ago #

    Thanks Mikey1,
    Looks awesome, but doesn't seem to work here. Even when I downloaded the latest version at http://sivel.net/2008/09/shadowbox-change-coming-soon.

    More Lightbox alternatives working for 2.7?

  7. CrisBloomfield
    Member
    Posted 5 years ago #

    The issue I have since the upgrade is that the navigation between photos within a Lightbox gallery doesn't work. The previous and next tags just don't show up. I have been using the Lightbox JS v2.03.2 by Lokesh Dhakar. By Peppe Argento (v1.7 from their download site). I see there is now a newer version out (1.8.2), so I'll give that a try.

  8. CrisBloomfield
    Member
    Posted 5 years ago #

    Upgraded to v2.8.0 from Rupert Morris, but still have the same issue :(

  9. ReneODeay
    Member
    Posted 5 years ago #

    Shadowbox plugin fixed the issue with my WordPress 2.7 upgrade.
    So thanks for the suggestion and link.

  10. chuckzwood
    Member
    Posted 5 years ago #

    I'm having the same issue with Lightbox 2....

    I was using Lightbox 2 with WordPress before the upgrade, and it worked perfectly! After upgrading to WP 2.7, the Lightbox does not work with any new images, but is continuing to work with images added prior to upgrading.

    I deactivated the Lightbox, deleted it from the directory, and installed it freshly (Lightbox version 2.8.0)--but still have the same problem (still works with the previously added images, just not with any images added after the upgrade).

    I tried installing Shadowbox JS, but it behaves similarly--works with images added prior to upgrading to WP 2.7, but none added after upgrade.

    Any suggestions?? Thanks!!!

  11. kooi2000
    Member
    Posted 5 years ago #

    FYI: the plugin works if you manually insert the text 'lightbox[example]'in the text field 'Link Rel', where example can be replaced for any other word about your post.

    A little problemslolver, but still not the right one.

    Anyone?!

  12. Richard
    Member
    Posted 5 years ago #

    I fixed this problem for my gallery short code don't know where the rel='lightbox' code is showing up in my output code but it works for the images in the gallery.

    In the file wp-includes/post-template.php
    is a line of code (line 789 in my file)
    return apply_filters( 'wp_get_attachment_link', "<a href='$url' title='$post_title'>$link_text</a>", $id, $size, $permalink, $icon );

    and i pasted the rel code there like this:
    return apply_filters( 'wp_get_attachment_link', "<a href='$url' rel='lightbox[gallery]' title='$post_title'>$link_text</a>", $id, $size, $permalink, $icon );
    and it works for me

  13. 0reg0ncurt1s
    Member
    Posted 5 years ago #

    Same problem here. Neither shadowbox nor lightbox work.

    @ kooi2000: what is the purpose of the [example]? Can you simply put lightbox?

  14. kooi2000
    Member
    Posted 5 years ago #

    @0reg0ncurt1s Hm, could be. Never tried that. The word between the [] makes the set of images unique, so you can scroll through them with the arrows.

  15. kooi2000
    Member
    Posted 5 years ago #

    *deleted*

  16. aaronmalys
    Member
    Posted 5 years ago #

    Shadowbox works well. If you do not want to add the rel='lightbox" manually to each image,

    install shadowbox plugin, then click on the settings button (next to the activate button), within the settings choose your js library (I use Mootools) then scroll down and make sure that "image links" is set to "true" under "shadowbox automation", then go to any post. Under the visual editor click the button to add an image. Choose the styles for your thumb (thumnail, medium, large, original size) then above those settings is a button "file URL", click that so that it links to the large version of the image (this is not selected by default after the 2.7 install!)Check the link to confirm that it chose the path to the correct large image. Save Post. View in browser. All Done.

  17. 0reg0ncurt1s
    Member
    Posted 5 years ago #

    I'm still having problems. One thing that seems odd to me is that the lightbox/shadowbox works when i preview a post, but when i publish the post and look at it on the website it doesn't work. Anyone else having the same problem?

  18. CrisBloomfield
    Member
    Posted 5 years ago #

    Still having problems too. Does anyone have Lightbox 2.8.0 working with WordPress 2.7? Or do you have to change to shadowbox?

  19. CrisBloomfield
    Member
    Posted 5 years ago #

    Found the solution to my issue by trying the Shadowbox plugin. Shadowbox itself didn't fix the issue, but a comment in the usage notes revealed the issue:

    If rel=”shadowbox[album]“ is included the portion listed here as [album] will group multiple pictures into an album called album. Do not use [gallery] to define an album as WordPress has a shortcode that will interfere.

    Changed a lightbox[gallery] tag to lightbox[album] and it fixed the issue... Now there's the small matter of automating the change in over 1,200 posts...

  20. dom2002
    Member
    Posted 5 years ago #

    Lightbox 2.0 works for my old pics in wordpress MU 2.7 but not my new posts, it is simply not inserting the code that it requires to work. Shadowbox didn't work either and needed to be removed from the plugin folder manually as it was throwing up some weird stuff and couldn't be un-installed - it's a shame as they are very handy plugins

  21. xenon2050
    Member
    Posted 5 years ago #

    What I've noticed is that when you upload images it is not adding a link by default anymore. You now have to click the little button that says insert link to image... I'm gonna have to figure out where to change that. Or maybe they fixed it in 2.7.1 or will in 2.8

  22. mikencaron
    Member
    Posted 5 years ago #

    It took me a while to figure this out but aaronmalys gave me the clue.

    With the newest WordPress 2.7.1 the link to the larger images DO NOT automatically insert like previous versions. There is an additional step now of pointing to the original image. When you insert image using the "Add an image" button, click "link to image" before you submit it and it should automatically fill out the field and then your lightbox should work again.

    Hope this helps someone out there :)

  23. sommu
    Member
    Posted 5 years ago #

    Use this with Lightbox 2
    http://wordpress.org/extend/plugins/add-lightbox/

    did the trick for me..

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags