Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #18718

    I am curious if it is possible to make the Sortable Portfolio categories pop up before all of the images in the portfolio have loaded. It is a minor nuisance if someone is scrolling down as the page loads and then pushed back to the top of the page when all of the images have finished loading.

    I found this post:

    http://www.kriesi.at/support/topic/sortable-portfolio-is-too-slow

    but it’s a year old.

    Is there a solution other than narrowing down the amount of projects?

    #100594

    You can try to replace following line in js/avia.js:

    filter		= container.prevAll('#js_sort_items:last').css({visibility:"visible", opacity:0}),

    with:

    filter		= container.prevAll('#js_sort_items:last').css({visibility:"visible", opacity:1}),

    I’m not sure if this will break the portfolio but it’s worth a try.

    #100595

    It does break the portfolio. Unfortunate. :(

    If I lower the amount of entries visible on any one page, the load times are great, but then it only sorts between the entries it loads. If I understand how the sortable portfolio works, all of the items are loaded into “memory”, and clicking on a category just narrows down what has already been loaded?

    How would I go about changing it so the individual categories load specific pages with their own unique portfolios? It would be a fair workaround without having to add sub-categories to the Main Menu, and would not require extensive tweaking to the JS.

    #100596

    Yes exactly. Kriesi uses the isotope jquery plugin: http://isotope.metafizzy.co/ to sort the portfolio items. Basically this script sorts or filters a html list based on the custom (html) data attributes: http://html5doctor.com/html5-custom-data-attributes/

    At the moment the only workaround I know is to add sub-categories to the main menu or to reduce the number of items. It’s not possible to link the portfolio filter/sort links to unique portfolios.

    #100597

    OK. Thank you. If it ever becomes an issue, I’ll break the categories into their own separate pages and just add a drop-down menu in the sidebar.

    #100598

    Hi merhardj,

    Glad that Peter helped you. :)

    Cheers,

    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Best solution for portfolio load times?’ is closed to new replies.