Problems when using multiple galleries

ludwig.arcache's Avatar

ludwig.arcache

06 Feb, 2018 09:54 PM

Hello,

Please I need assistance using multiple galleries on the same page.
When used, some galleries have the thumbnails disappeared, also I have size ans position issues.

All visible on this page : https://www.woodandgas.com/product_info.php/focus-edofocus-850-vertical-outlet-p-249

Thank you for your soonest reply.

  1. Support Staff 1 Posted by Dmitry Semenov on 07 Feb, 2018 06:51 AM

    Dmitry Semenov's Avatar

    Hello,

    Such issue may be caused by the tabs component that hides slider during initialization, please refer to http://help.dimsemenov.com/kb/royalslider-jquery-plugin-issues/slid...

  2. 2 Posted by ludwig.arcache on 07 Feb, 2018 08:31 AM

    ludwig.arcache's Avatar

    Hello,

    Previously I asked how to disable the thumbnails if the gallery have only 1
    image. your solution was to use this code and it worked:

    if (slider.data('royalSlider').numSlides <= 1) {
    nav.hide(); }
    } );

    But when using multiple galleries, if the first gallery have 1 image, all
    the other galleries thumbnails disappear.

    Can you provide a solution to use multiple galleries in combination with
    hide thumbnails code ?

    Thanks

  3. Support Staff 3 Posted by Dmitry Semenov on 07 Feb, 2018 08:56 AM

    Dmitry Semenov's Avatar

    You'll need to loop through each slider, e.g.:

    $('.royalSlider').each(function() {
      var slider = $(this);
       if (slider.data('royalSlider').numSlides <= 1) { 
        slider.find('.rsNav').hide();
      }
    });
    
  4. 4 Posted by ludwig.arcache on 07 Feb, 2018 11:25 AM

    ludwig.arcache's Avatar

    Done. thank you :)

  5. 5 Posted by ludwig.arcache on 08 Feb, 2018 07:36 AM

    ludwig.arcache's Avatar

    Hello,

    Can I ask you for paid service ? I need to complete the galleries
    installation.

    I'm placing the galleries inside Tabs, as you can see here
    <https://www.woodandgas.com/product_info.php/escandella-red-flat-p-274>,
    the first tab display the gallery perfectly, but the other tabs display
    wrong size and position of the galleries.
    I think the reason is (display: none) of turned off tabs

    Thank you

  6. Support Staff 6 Posted by Dmitry Semenov on 08 Feb, 2018 04:44 PM

    Dmitry Semenov's Avatar

    Sorry, I don't take any custom work for now.

  7. ludwig.arcache closed this discussion on 22 Feb, 2018 07:23 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac