Code

Discussion on Backslider - Fullscreen Background Image Slider

Discussion on Backslider - Fullscreen Background Image Slider

Cart 884 sales

flGravity supports this item

Supported

This author's response time can be up to 5 business days.

171 comments found.

Hi, I just bought your plugin and I would also like to have the timer + pagination. My programming skills are limited, can you please help me with this?

Cheers.

Hi! You will have to write some code.. Here is quick how-to.

1. You should create as many pagination bullets inside “bs-controls” div as you have slides, using this markup

<div id="bs0" class="backslider">

<ul class="bs-slides">    
        <li><img src="pictures/pic1.jpg" alt="Pic" /></li>    
        <li><img src="pictures/pic2.jpg" alt="Pic" /></li>    
        <li><img src="pictures/pic3.jpg" alt="Pic" /></li>    
        <li><img src="pictures/pic4.jpg" alt="Pic" /></li>    
    </ul> 

<div class="bs-controls">
<a class="bs-pagination" href="#"></a>
<a class="bs-pagination" href="#"></a>
<a class="bs-pagination" href="#"></a>
<a class="bs-pagination" href="#"></a>
</div>

</div>

or you can make this automatically with jquery on init.

2. after that you need to link every pagination bullet with the code that will switch slide. The code may look like this

$('#bs0 .bs-controls').delegate('.bs-pagination', 'click', function(){
 var n  = $('#bs0 .bs-pagination').index(this);
  $('#bs0').trigger('backslider',['skip', n]);
  $(this).addClass('bs-active').siblings('.bs-pagination').removeClass('bs-active');
});

3. finally, switch backslider mode to “timer” add afterSlide callback to change active bullet automatically. Like so

afterSlide: function(n) {
  $(this).find('.bs-pagination').removeClass('bs-active').eq(n).addClass('bs-active');
}

Hi Thank you for your reply, the only problem now is that I see two timers on the left and right from the dots, and the dots aren’t clickable… Can I PM you so you can take a look?

Yes sure!

Hi there,

Thanks for your responses to my previous questions! I have Backslider across the top of my website (it’s a phpBB forum), and I’ve noticed that if someone posts a YouTube video, Backslider will stop working in Chrome only (works fine in Firefox, IE, Safari). It just displays the loading circle icon (but it’s frozen), and no image appears.

Seems like some conflict with Youtube vids, but only for Chrome.

Example here.

Thanks for your help!

My plugin does not allow to set any video as a background. It works only with images.

Thanks flGravity, I was just embedding the youtube vids on the same page, not trying to put them into the plugin.

But I found a solution online, just thought I’d mention it in case anyone had a similar issue. It’s an issue with some browsers creating flicking transitions, or not displaying the images properly with java script image sliders.

The solution was to add -webkit-transform: translateZ(0); to your css to the div holding the images. For whatever reason, making it 3D, without needing any 3D transforms helps it display correctly. (I’m not an expert… so I don’t know why!)

Btw, I saw above that MJNewman mentioned an issue about Firefox only loading half of each image. I also noticed this when viewing the demo with Firefox (although it works properly on my website). However, the same fix I mentioned above also solved this issue, making Firefox load the whole image properly.

Maybe you can suggest this fix to him to try, as I cannot reply to him.

Cheers!

Probably your problem has to do with such thing as redraw and layers. Anyway, I’m glad that you found solution! :)

Hey, i like your slider very much! But the slider has problems to load the background images in the new Firefox 35.0.1. In your live preview has the slider the same problems. In Chrome and IE works fine.

I hope you can help me!

A half of image? maybe you should wait until browser will load image completely.

Problem is solved! :) The slider works again in the updated FF(36.0) browser.

Hi! Slider working really well, but I have 2 questions I hope you can help me with.

1. Is it possible to place the thumbnails into a div which I can put anywhere on my page, instead of them appearing over the main images?

2. Currently, the thumbnail images are a small portion of the main image. Is it possible to show the whole image in the thumbnail?

Cheers!

Hi!

1. to make this possible you should create some external list with thumbs and link it with backslider using plugin API. Images (src) for thumbs you can pull from backslider markup.

2. thumbs are square because they are inside of a 40×40 div with overflow: hidden. You can make them any size by setting height: auto and removing overflow.

Awesome product. Just awesome!

hello! The Slider works great, i gave it 5 stars without hesitation.

One question though: i`ve added the Captions and Prev/Next Nav as per your instructions to the “timer mode” and it works great. Would it be possible to add the Bullet Nav (Pagination) as well?

thank you, andi

Hello, please contact me privately with this question via mail form and I will try to find solution for you. Thanks!

Hi, great slider. Working really nicely.

I saw you can randomize which image the sequence starts on, but it still shows images in the same order.

Is there any way to randomize the order of the listed images, so it’s a different order each time the page is refreshed?

Cheers!

Thanks! Do you use “startRandom” plugin option?

I set “startRandom” to “true” (I think was in one of the js files… sorry, I’m at work right now, so can’t check). But it only changes which image it starts with, but doesn’t randomize the list of images. So if there are 5 images, it might start on image 3, but the sequence will be 3,4,5,1,2 then repeats. If it randomly starts on image 5, the sequence will be 5,1,2,3,4 then repeats. So the sequence is still in the same order.

Is is supposed to randomize the order too? Maybe I need to turn something else on?

Cheers.

You are right. This option only selects which image to start with, but does not shuffle images in list.

Hi I want to purchase your background slider for a project, but I have a question. I’m building a one page parallax website. Would I be able to use slider as a fullscreen slider to work on a scrolling page as oppose to just running in the background? I need the slider to scroll with the page.

Hi was there a way to retrieve the image title and description from the flickrOauth function? Thanks for the great plugin

Hi! I will reply you via email.

Hi, Amazing work! you have plans to develop for wordpress?

Thanks! :) Yes, I have such plans

Great plugin! Can you adjust which size image backslider pulls from flickr?

https://www.flickr.com/services/api/misc.urls.html

s small square 75×75
q large square 150×150
t thumbnail, 100 on longest side
m small, 240 on longest side
n small, 320 on longest side
- medium, 500 on longest side
z medium 640, 640 on longest side
c medium 800, 800 on longest side†
b large, 1024 on longest side*
h large 1600, 1600 on longest side†
k large 2048, 2048 on longest side†
o original image, either a jpg, gif or png, depending on source format

Thanks!

Thanks for the quick reply!

I’m using Flickr Auth because Flickr Feed is limited to 20 images. Is there a way to customize the image that it pulls?

Open js/jquery.backslider.js source file find this line

method=flickr.photosets.getPhotos&extras=url_o&format=json&jsoncallback=?

and replace url_o with your image size. Possible values are url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o

thanks!

Yes I noticed it. I need to change place where thumbnails will be and style eg grid 3×10.

I have re-read your first email and I see you didn’t mention about auto play. If you don’t need it, you can simply set “mode” option to “thumbnails” and then position .bs-controls div using “top|right|left|bottom” css properties.

To make a grid with thumbs you need to set some “width” for .bs-controls div what will force thumbs to flow to next line. Like if thumb is 50px wide ( plus 10px right margin), and you want to have 3 thumbs per row, then width should be 180px

Hello, I really like this script but I need there active thumbnails of backrounds, so it could be like full screen photogallery. Is it difficult to do it?

Hello, here is FAQ how to add thumbs with autoplay for Backslider. Check here http://codecanyon.net/item/backslider-fullscreen-background-image-slider/2756199/faqs/21814

Thank you. And where I should set individual thumbnails please?

They are taken from large images that you use in backslider.

Please help with my questions below! I have built out my entire site and we’re almost done – just two bugs with this slider… and it’s built into my theme – with absolutely no support from the theme developer!

http://www.pontoons.com

1. My client hates the way the images don’t resize or show their full width on mobile. How can I fix this? I attempted your tip for making the slider responsive by adding the wrapper, but for some reason it made my entire header disappear!

2. Every page under ‘Options’ contains a slider with captions, but the first caption on each slider won’t show until the entire loop has completed and the image comes around again. How can I fix this??

Thank you, I REALLY APPRECIATE IT!!

Hello,

1. Images resize properly. But they are landscape and when your client checks them on mobile, probably he is in portrait mode. In this situation Backslider shows only central part of image that fits into screen

2. Backslider by default has no support for captions. And I don’t know how you implemented this. You should check login of your code to see why they don’t snow in right time.

1. Yes, that is exactly the problem and probably the problem everyone on here is experiencing when they mention a photo resizing issue. Most websites now are made to be widescreen layout, which means landscape oriented photos, but there has to be a way to scale the images for portrait mode in mobile. You basically just confirmed my problem, do you not have a solution??

2. Hmm… that is weird because when I look in the code, there is code for a caption and the theme developer links to your website for accredidation on the plugin. I’m not sure what you mean by ‘check login of your code’?

1. I don’t consider this as a problem. This is a way how my plugin handles it. 2. Sorry. I meant logic of a code.

Looks awesome..I have some questions

can I add this background image to a large website like a shopping cart where there is many items on the screen?

Can I choose where the any page i want to

Can I add the background without filters effect!!! just clean original image?

Thanks

Hi! You can add my Backslider – jQuery Plugin (not WordPress plugin) to any site. You have to link js/css files to the page where Backslider should be activated.

I have a pre-sales question. Looking at your demo page at http://plugins.gravitysign.com/backslider/ on an iPad using the Chrome or Safari browser I see a small bug. When scrolling down, the browser bar disappears, but a blank area appears at the bottom the size of the browser tab area. I have included before/after scroll pics. Is this something that can be fixed? I noticed another fullscreen background slider doesn’t have this issue, but I need some other features that yours has http://codecanyon.net/item/jquery-resizable-fullscreen-gallery-plugin/1591675?ref=freshdesignweb. Thanks for any info!

I don’t have iPad. I tested it in Xcode iPad simulator.

I just tried it in my Xcode iPad simulator and got the same issue. if you click and drag to scroll the page, the safari browser bar minimizes on scroll and a blank area appears at the bottom of the page, just like in the screenshots I attached below. I’m testing on iOS 8. Thanks for looking into this for me.

Ok. I see no problem with my backslider plugin, as this is how mobile Safari handles page scroll. It shows blank space when you reach end of scroll. Same happens with http://codecanyon.net/item/jquery-resizable-fullscreen-gallery-plugin/1591675 this is the plugin that you refer in your initial comment.

hi i will like to purchase the plugin i have a few questions.

1. the bacground image suuport animated.gif?

2. can we remove the overlay texture and controls?

thanks for the support!

ok! thanks for the great support

we can put the background to home page only?

Yes. You just need to link Backslider js/css files to the home page.

Hi great script but 2 questions: - the code to run timer and thumbnail posted above doesn’t work – thumbnails are just part of the image not a rezized one. see example

http://equipelefrancois.ca/slider.php?no=11655475

- There seem to be lines or texture at 45 degree angle, can those be remove and if so how ?

thanks

OK SECOND QUESTION RESOLVED , just remove the .backslider .bs-overlay css

Hello, I have replied you in email.

Hello I just purchased the code and it works great! I was wandering: Can you use the timer mode in combination with thumbnails?

Thanks!

Yes, you can. Here is example for timer + thumbnails

$(document).ready(function () {
    $('#bs0').backslider({
        mode: 'timer',
        effect: 'slidefade',
        centerImages: true,
        slidesLoaded: function () {
            var bs = $(this);
            var size = 50; // thumb size
            bs.find('.bs-slides img').each(function (p) {
                var atts = this.width > this.height ? 'height="' + size + '"' : 'width="' + size + '"';
                var thumb = '<img atts="" src="' + this.src + '" alt="" />';
                $('<a class="bs-thumbnails" href="#">' + thumb + '</a>').
                css({
                    width: size,
                    height: size
                }).click(function () {
                    bs.trigger('backslider', ['skip', p]);
                    return false;
                }).appendTo(bs.find('.bs-controls'));
            });
        }
    });
});

also another example for timer + next/prev if you will need

<script type="text/javascript">
    $(document).ready(function(){
        $('#bs0').backslider({
            mode:'timer',
            effect:'slide',
            timerDelay: 4000,
            effectTime: 2000,
            slidesLoaded: function(){
                var bs = $(this);
                $('<a class="prev-slide" href="#">Previous</a>').click(function(){     
                    bs.trigger('backslider','previous');
                }).appendTo(bs.find('.bs-controls'));
                $('<a class="next-slide" href="#">Next</a>').click(function(){     
                    bs.trigger('backslider','next');
                }).appendTo(bs.find('.bs-controls'));
        }
    });
});
</script>

I have just prepared FAQ about running Backslider in timer mode with next/prev or thumbnails, as this seems to be quite popular question. So here it is – http://codecanyon.net/item/backslider-fullscreen-background-image-slider/2756199/faqs/21814

Thanks a lot! That solution works great and thanks also for the FAQ.

Hi, I’m trying to set my image center, it’s working when I resize page with standard screen resolution but when the screen is bigger than the standard resolution, it’s look like this :

I would like to center it horizontally so that the link “NOUS JOINDRE” (at the right-top of the page) would be in the background image… (I don’t want it centered vertically).

Could you help me please? Thanks.

Hi! Make sure that your html theme does not set max-width: 100% for <img /> as it will prevent image scale to the size bigger than your primary image resolution.

thanks for your fast answer, I really appreciate.

I’ve take a look in my stylesheet and I’ve found a max-width. I’ve removed it and nothing has changed.

Do you have any idea? All my other backgrounds (which has no slider) on my other pages are ok. They are resizing correctly with my current stylesheet settings… :-/

Try to look maybe there is another max-width style. Or you can better add this style somewhere
.backslider .bs-slides img {
 max-width: none!important;
}
by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey