Upgrading 5.9.1 to 6.4.3: Portfolio-- arrangement; Infinity Scroller

7 replies · opened Jul 31, 2021

PPaulJul 31, 2021

Hi!
I'm upgrading 5.9.1 to 6.4.3 (I'll upgrade to 6.5 after that).
Everything is going well so far-- I've got the front page happy, just a few snags in Gallery.
You can see our current/live (5.9.1) gallery at: https://coastmetalsolutions.com/gallery.html
And the new (6.4.3) version at: https://coastmetalsolutions.com/new/gallery.html

Question 1:
Do you know why the portfolio not arranging the thumbs neatly, as you scroll down especially? They're all snug in the current/live version.

Question 2:
Do you know why the infinity scroller ("Load more...") just shows the 20 thumbs in gallery-2.html instead of adding them to the ones in gallery.html?

Question 3:
I cannot find / cannot remember how to get navigation working once the image pops up in a lightbox-- ie, we would like left/right nav arrows that scroll through the photos in that category.

Thanks in advance!
Paul Jubenvill

SSemicolon WebSTAFFJul 31, 2021

Hello,

  1. Simply remove the data-layout="fitRows" Attribute from the .portfolio DIV. This will make the Thumbs arrange in a Masonry Layout.

  2. You are using Older Codes for jQuery which does not work in the Latest Versions of jQuery. Consider updating the JS Codes with the following:
    [ch_pre]

    jQuery(window).on( 'load', function(){

     var $container = $('.grid-container');
    
     $container.infiniteScroll({
         path: '.load-next-portfolio',
         button: '.load-next-portfolio',
         scrollThreshold: false,
         history: false,
         status: '.page-load-status'
     });
    
     $container.on( 'load.infiniteScroll', function( event, response, path ) {
         var $items = $( response ).find('.portfolio-item');
         // append items after images loaded
         $items.imagesLoaded( function() {
             $container.append( $items );
             $container.isotope( 'insert', $items );
             setTimeout( function(){
                 $container.isotope('layout');
                 SEMICOLON.widget.loadFlexSlider();
                 SEMICOLON.widget.hoverAnimation();
             }, 1000 );
         });
     });

    });

[/ch_pre]

Consider checking out this Example: https://themes.semicolonweb.com/html/canvas/portfolio-infinity-scroll.html .

  1. Simply wrap the Container with data-lightbox="gallery" and the Gallery Images within the Container with data-lightbox="gallery-item". Thats it.

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

PPaulJul 31, 2021

Hi SemiColonWeb,

Thanks for your quick response!

Question 1: - fixed (thank you)

Question 2: - still broken, but I'm going to look more closely at the example you sent

Question 3: - this is working, but now I see that the old "shuffle bug" is still there! We talked about it the first time... if someone is looking at a sub-category of the portfolio, when they click to enlarge they should be navigating through images only in that category, but instead they navigate through all images in the gallery!

I have a feeling that you suggested a fix for it. I'll look above in our earlier chat history.

Thanks again,
Paul

PPaulJul 31, 2021

Yes, everything is fixed now, except the Shuffle Bug has re-emerged!

E.g., if you visit our https://coastmetalsolutions.com/new/gallery.html and click "Custom Capping," then enlarge a photo, and the navigation is through all photos, not exclusively the Custom Capping category.

Again, I plan to read our earlier support chat back at version 5.9.1.

Thanks again,
Paul

SSemicolon WebSTAFFAug 2, 2021

Hello,

Thanks for your Patience!

We have tried checking this out and unfortunately using the Lightbox Plugin with Isotope Plugin causes this issue as the Order of the Images is being changed (when clicked on shuffle or filtering) in JS by using CSS Positions and not exactly in HTML. The Lightbox Plugin currently orders Images based on their HTML Positions. We have been working on a Solution since yesterday but it seems that this will require more hefty customizations than expected due to the nature of the functionality used by the Lightbox Plugin. Currently, we do not have a Solution available for this but we will continue working on this and will provide you with solution once available. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

PPaulAug 5, 2021

Hi,
Thank you for solving my other ticket (the updated plugins.min.js), and also thank you for your response here.

I understand that it's a tricky problem, and also it's a conflict between two plugins you did not author, so I really appreciate this effort you're putting.

Kind regards

SSemicolon WebSTAFFAug 5, 2021

Hello,

Very Happy to Help! :)

The problem you have mentioned with the Lightbox is very correct and is the desired User Experience so this must be fixed. We are still working on this and we will definitely let you know when there are further developments. Thanks for your Continued Patience.

Please do let us know if we can help you with anything else.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard