Sauter la navigation

[Résolu] Carousel Image

This support ticket is created Il y a 5 années et 6 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Ce sujet contient 6 réponses, a 2 voix.

Dernière mise à jour par Jaime Il y a 5 années et 6 mois.

Assisté par: Christian Cox.

Auteur
Publications
#1272577

Tell us what you are trying to do?
I'm trying to make a carousel with images from a repeatable field.

Is there a similar example that we can see?
Yes, actually I think I have this same problem.
https://toolset.com/forums/topic/we-need-to-create-a-carousel-slider-with-images-inserted-in-a-repeated-field/

-> I just need to have access to the css/js files Noman gave to Franco, but I cannot access to them

What is the link to your site?
lien caché

#1272699

Hi, I updated the ticket to make those links public. You should be able to access those links now.

#1274425

Hi again Christian.
Unfortunately, i can't reach to make the carousel show.

I have been following these awesome instructions from Nigel also,
https://toolset.com/forums/topic/how-to-display-the-pics-i-uploaded-as-a-slider/#post-518295

and despite I have done all what he does, step by step, my Carousel doesn't appear.
🙁

Could you help me please?
What I'm trying to have is something similar than this carousel you can see at the top of this page

lien caché

Thanks Christian!

#1275137

I don't see this JavaScript anywhere on your page:

( function( $ ) {
    $( document ).ready( function(){
 
      $('.flexslider').flexslider({
        animation: "slide"
      });
 
    });
})( jQuery );

Can you tell me exactly where you added this JavaScript?

#1275141

You're right Christian.
I'm sorry. I was trying other ways to solve the problem after a I wrote to you, and I forgot to upload the code again.
I inserted it in the JS Editor Layout.

Now I think we have something!
I can see the slider, but with full width images.

How can I show thumbnails?

Just like this carousel.
lien caché

Thanks a lot for your help Christian.
🙂

#1275165

You can modify the options for the slider in the JavaScript code. For example, this code loads images at 200px width:

$('.flexslider').flexslider({
    animation: "slide",
    itemWidth: 200
  });

Other options are controllable as well. Here is a link to the Flexslider documentation:
http://flexslider.woothemes.com/

#1275167

I think I can manage with the documentation.
Thanks for your help Christian.

🙂