Forums

[resolved] Lightbox showing each image TWICE -- Please Help! (11 posts)

  1. vintageprs
    Member
    Posted 3 weeks ago #

    Hello All --

    First off, I'm a total noob here, so please be gentle.

    Problem -- I have Lightbox installed and working. However, it shows each image TWICE when you use the "Prev" or "Next" function.

    Check out my page and you'll see what I mean. Click on any guitar, then click on a thumbnail image to activate Lightbox -- everything displays twice.

    http://vintageprsguitars.com

    Please help. Many thanks!

  2. vintageprs
    Member
    Posted 3 weeks ago #

    Hmmm. Is my question totally off the beam? I know there are some serious brains on this site, and at least one of them has to know how to fix this, right?

  3. vintageprs
    Member
    Posted 3 weeks ago #

    Giving this a bump -- I know someone here must have an answer. Many thanks for any help you can give!

  4. vintageprs
    Member
    Posted 3 weeks ago #

    Another bump. Please help.

  5. vintageprs
    Member
    Posted 3 weeks ago #

    Another day, another bump. Still looking for some help.

  6. vintageprs
    Member
    Posted 2 weeks ago #

    Wow -- I'm shocked nobody knows how to crack this one. Is it really that hard? Or is it that uncommon? Anyway, still hoping...

  7. RVoodoo
    Member
    Posted 2 weeks ago #

    Have you deactivated all plugins but that one and tried it? Have you gone back to default theme and tried it?

    I had that happen to me a while back, but it sorted itself out....thing is when it sorted itself out, it was during the time when I redesigned my blog, so I had pulled some plugins, added new ones, and totally rewrote my theme......

  8. vintageprs
    Member
    Posted 2 weeks ago #

    RVoodoo -- Thanks for taking time to try and help.

    I tried both the default theme and deactivating other plugins as you suggested and neither seemed to make any difference.

    Just to be clear -- I'm using Lightbox 2 V. 2.0.2. And even the default theme showed the images twice each.

    Geez. Now what?

  9. vintageprs
    Member
    Posted 2 weeks ago #

    Bump

  10. vintageprs
    Member
    Posted 2 weeks ago #

    GOOD NEWS! My programmer friend Andrew cracked this really simple fix --

    If you leave any spaces between the end tags on a post, WP essentially has Lightbox call for it TWICE -- hence showing up twice.

    So all you need to do is change this --

    /albums/tt286/th_red01.jpg" border="0" alt="Photobucket"

    *A*

    TO THIS --

    /albums/tt286/th_red01.jpg" border="0" alt="Photobucket" *A*

    ELIMINATE THE SPACE between the lines and Lightbox will work perfectly, using each image only once.

    Hope this helps somebody else. I know it's a totally noob problem, but hey, I'm glad it got fixed. Cheers...

  11. vintageprs
    Member
    Posted 2 weeks ago #

    WHOOPS -- PLEASE IGNORE WHAT I WROTE ABOVE

    The actual fix is in REMOVING ANY SPACE between the <img of the thumbnail and the previous full-sized image tag (a.k.a. jpg">)

    For whatever reasons, my code had an empty line between them per below --

    rel="lightbox....Sig04.jpg">

    <img src=...g04.jpg" border="0" alt="Photobucket"

    I simply removed the blank line and it works perfectly.

Reply

You must log in to post.

About this Topic

Tags