You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sites using "Simple Colorbox" plugin also use "Floating Social Bar" (FSB) Plugin the colorbox "picks up" an extra image which forces an error message.
YOu'll see 3 images, the Colorbox reports 4 images, loads the second image first (the first REAL image) If you go back to the first image you get a blank item with this error: "This image failed to load."
The text was updated successfully, but these errors were encountered:
Colorbox is doing exactly what it was told to do. You need to change how you assign Colorbox so that it only selects the elements you want it to.
And you have 4 links on that page that end in '.jpg'. This is the first one:
jQuery(function($){
// Examples of how to assign the ColorBox event to elements
$("a[href$=\'jpg\'],a[href$=\'jpeg\'],a[href$=\'png\'],a[href$=\'bmp\'],a[href$=\'gif\'],a[href$=\'JPG\'],a[href$=\'JPEG\'],a[href$=\'PNG\'],a[href$=\'BMP\'],a[href$=\'GIF\']").colorbox(colorboxSettings);
});;
You will want make this more restrictive and specific to your site, so that it only selects the images you are interested in showing in the lightbox. For this page, you could do something like this instead:
When sites using "Simple Colorbox" plugin also use "Floating Social Bar" (FSB) Plugin the colorbox "picks up" an extra image which forces an error message.
You can view this behavior on any blog post of mine: Example: http://franksdesigns.com/custom-return-address-stamps/
YOu'll see 3 images, the Colorbox reports 4 images, loads the second image first (the first REAL image) If you go back to the first image you get a blank item with this error: "This image failed to load."
The text was updated successfully, but these errors were encountered: