WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin - Simple Lightbox] nothing happeninh (21 posts)

  1. digiman57
    Member
    Posted 3 years ago #

    I've installed and activated SLB but nothing is happening..I am a complete novice with WP but can follow instructions :O)

    Test site here

    Have i missed doing something?

    Any advice appreciated

    Martin

  2. Archetyped
    Member
    Posted 3 years ago #

    Hi, I'm getting a 404 (not found) error when I go the link you provided. Could you please check the link?

    Also, you may want to make sure that Simple Lightbox is enabled using the following steps:
    1) Go to Settings > Media in your admin dashboard
    2) Scroll down the the section titled "Lightbox Settings"
    3) Make sure the options in the "Activation" group are checked
    4) Save your changes

  3. digiman57
    Member
    Posted 3 years ago #

    Sorry about that bad link, try this:

    http://www.mwaphotography.co.uk/wp_mwaphoto/?page_id=70

    I've checked the settings and it is activated. I take it i don't have to input any code into the page? I think this is done automatically with the images...

    Cheers

  4. Archetyped
    Member
    Posted 3 years ago #

    Thanks for the link.

    The necessary code is automatically added to the page and this is occurring as expected on your site.

    However, lightboxes (including this plugin) primarily work on links to image files (e.g. http://domain.com/image.jpg). The reason the lightbox is not activating when the thumbnails on your test page are clicked is because they link to other WP pages, not images.

    When inserting an image into a post, the "Link URL" (for example, in the image properties after uploading an image) needs to be set to "File URL". This will link the thumbnail image to the actual image file that the lightbox can display.

  5. digiman57
    Member
    Posted 3 years ago #

    Thanks Archetyped, i re-inserted the images and set to 'File URL' and it works a treat :O)

    Case can now be closed

  6. Archetyped
    Member
    Posted 3 years ago #

    Great, glad to hear it.

  7. jbcaco
    Member
    Posted 3 years ago #

    Hi, I am having the same problem, only the opposite, lightbox appears in pages but not in posts. They are activated in the Media Settings for both, and they link to the image itself:

    Page With Lightbox
    Blog Post Without Lightbox

    Any help is appreciated, thanks!

  8. Archetyped
    Member
    Posted 3 years ago #

    SLB is activated on both the Post and the Page, but the difference appears to be that the image on the Post is not part of the post content itself, whereas the image was inserted into the Page's content.

    SLB will automatically activate links that are part of a post's content, but will not modify other images on the site.

  9. asharperrazor
    Member
    Posted 2 years ago #

    Sadly, SLB is no longer working for me.

    http://www.asharperrazor.com/about-us/razor-gallery

    Pages and posts just default to the normal take the user to the file setting. Any idea what's going on?

  10. Archetyped
    Member
    Posted 2 years ago #

    It doesn't look like SLB is not being loaded at the link you provided. Is the plugin activated and enabled?

  11. asharperrazor
    Member
    Posted 2 years ago #

    No, I deactivated it to save on loading time. I'll activate it for the next two days or until I hear back from this topic.

  12. Archetyped
    Member
    Posted 2 years ago #

    Ok, let me know when you've reactivated it. Nothing can be done until the particular issue on your site can be looked into.

  13. asharperrazor
    Member
    Posted 2 years ago #

    Its active

  14. Archetyped
    Member
    Posted 2 years ago #

    It appears that the Sharebar plugin you are using has an error. JS errors can often cause other code on the page to stop working (e.g. SLB).

    This can be confirmed by deactivating the Sharebar plugin and reloading the page to see if SLB is working.

  15. asharperrazor
    Member
    Posted 2 years ago #

    Fixed the JS error. If anyone is having the sharebar issue, I found the solution here: http://maxfoundry.com/blog/2011/08/18/how-to-resolve-javascript-conflict-from-sharebar-plugin/

    Of course, they didn't bother to paste in the new code, here it is for easier copying. You need the break in between the lines as well.

    if (jQuery(sharebar).offset() != null)

  16. Chubstr
    Member
    Posted 2 years ago #

    Same problem here. When I updated to the newest version, clicking on a photo just takes you to the file instead of the lightbox working. See an example here: http://chubstr.com/2011/style/the-stylistic-will-bland-from-st-louis-missouri/

    Any suggestions as to how to fix it?

  17. Archetyped
    Member
    Posted 2 years ago #

    Hi,

    Have you changed any other aspects of the site (installed/updated other plugins, themes, etc.) around the same time that you updated SLB? Please describe any other changes as issues can arise due to conflicts between plugins.

    Also, SLB is already optimized and does not need to be minimized further. Doing so may cause unexpected issues. It is recommended that you exclude SLB according the instructions provided by the developer of the minification plugin you are using.

    Finally, please make sure that your site meets the installation requirements for SLB.

  18. Chubstr
    Member
    Posted 2 years ago #

    Thanks for the quick reply!

    I haven't updated anything else along with this latest update to SLB, but I know that it was working after the last update.

    Double checked installation requirements and my site meets them.

    As far as the minify plugin I use (Better WordPress Minify), there's a section for scripts to ignore. Is there something specific for SLB that I should add to this?

  19. Archetyped
    Member
    Posted 2 years ago #

    I've had a look at that minification plugin and you would want to add slb_lib to a new line in the "Scripts to be ignored (not minified)" text box.

    I've also released a new update (1.6b4) to counteract some of the issues that are introduced by minification/caching plugins, so you will want to update it on your site as well.

  20. Chubstr
    Member
    Posted 2 years ago #

    I followed your directions and it worked perfectly. Thanks much for your help with this!

  21. Archetyped
    Member
    Posted 2 years ago #

    Glad to help :)

Topic Closed

This topic has been closed to new replies.

About this Topic