Skip to content

Instantly share code, notes, and snippets.

@humbertosilva
Last active July 5, 2021 10:07
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save humbertosilva/da2054ab16ecfde9d1633f2e62f29263 to your computer and use it in GitHub Desktop.
Save humbertosilva/da2054ab16ecfde9d1633f2e62f29263 to your computer and use it in GitHub Desktop.
Turn Visual Composer Image Carousel into Visual Composer INFINTE Image Carousel
@daviiceberg
Copy link

Gênio! :) Thanks

@ericgeorgeriley
Copy link

Thanks this really helped me out!
There's a slight bug when you want to use multiple carousels on the same page; it appends the images to all of them.
Fix by changing .appendTo('.vc_carousel-slideline-inner') to .appendTo(jQuery(this).parent()) on lines 33 and 35

@humbertosilva
Copy link
Author

Thanks for the fix @ericgeorgeriley

@cloudzedge
Copy link

cloudzedge commented May 20, 2018

I am completely new to this, sorry if my question sounds stupid but where can I add this code to make it loop infinitely?

@humbertosilva
Copy link
Author

@fatherb
Copy link

fatherb commented Sep 20, 2018

Brilliant! Thanks for making this.

@blackarch01
Copy link

blackarch01 commented Oct 22, 2018

Thanks it's really helped me.
but I find little bug here, the button prev is not working on first time loading.
And it's only work for horizontal. not for vertical

@scaliasimo
Copy link

Working like a charm, I do not know how to thank you. <3

@Philtky
Copy link

Philtky commented Jul 5, 2021

That's awesome! Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment