I've installed and activated SLB but nothing is happening..I am a complete novice with WP but can follow instructions :O)
Have i missed doing something?
Any advice appreciated
Martin
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
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
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.
Thanks Archetyped, i re-inserted the images and set to 'File URL' and it works a treat :O)
Case can now be closed
Great, glad to hear it.
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!
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.
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?
It doesn't look like SLB is not being loaded at the link you provided. Is the plugin activated and enabled?
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.
Ok, let me know when you've reactivated it. Nothing can be done until the particular issue on your site can be looked into.
Its active
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.
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)
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?
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.
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?
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.
I followed your directions and it worked perfectly. Thanks much for your help with this!
Glad to help :)
This topic has been closed to new replies.