WordPress.org

Ready to get started?Download WordPress

Forums

Fullscreen Galleria
[resolved] Image order with fsg_link (6 posts)

  1. mikouak
    Member
    Posted 1 year ago #

    Hello,

    I'm still working on my website including galleries using FS Galleria. I have decided on using fsg_link on images opening galleries.
    [fsg_link link="file" rows="1" cols="1" include="642,635,757,699,641"]<img src="link_image.jpg" />[/fsg_link]
    It works realy cool but one thing I can't work out in this setup is changing the order of images in the gallery. The ability to randomize them like with orderby="rand" would be great too.
    How can I change the order of pictures while using fsg_link? They always appear in the same order as when being uploaded to the gallery in the first place.
    Cheers
    Mikouak

    http://wordpress.org/extend/plugins/fullscreen-galleria/

  2. mikouak
    Member
    Posted 1 year ago #

    One correction to the above post (can't edit, sorry). The images are ordered by their IDs in ascending order.

  3. mikouak
    Member
    Posted 1 year ago #

    I'm desperately trying to somehow go around this problem because it is practically the last thing holding me back from launching my new website...
    I looked inside the galleria code and as far as I could tell, the problem was in using 'orderby' => 'menu_order ID' for fsg_link.
    Then I found this discussion:
    http://wordpress.stackexchange.com/questions/83434/wordpress-3-5-gallery-menu-order-not-set
    Changing 'menu_order ID' to 'post__in' seems to solve the problem.

  4. pdamsten
    Member
    Plugin Author

    Posted 1 year ago #

    There is now (1.3.2) order and orderby params in fsg_link.

  5. mikouak
    Member
    Posted 1 year ago #

    You rock! Thanks for the update and information.
    Maybe it isn't much but a beer or two are coming your way via PayPal ;)
    Cheers!

  6. pdamsten
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic