Support » Plugin: Photonic Gallery & Lightbox for Flickr, SmugMug, Google Photos & Others » Flickr / Multiple album layout / How to add Filter possibility

  • Hello,

    First of all thanks for your great plugin and hard work!

    Could you explain us how we could add a filter with each album’s name that would display only corresponding images / videos from corresponding choose album?

    Thanks for all for your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Sayontan

    (@sayontan)

    How are you building your gallery? Photonic’s gallery builder (accessible via the “Add / Edit Photonic Gallery” in the Classic Editor, and the Photonic Block in Gutenberg) gives you the option to pull photos from an album (or photoset):

    The gallery builder is a lot easier to use than writing the shortcode by hand, as it lets you select the albums that you want to show.

    If you want to construct the shortcode by hand, you can use the guidelines here.

    benoitroubert

    (@benoitroubert)

    @sayontan

    Thanks for your answer. We use WP Bakery to insert the gallery with the shortcode.

    What we want to implement, is the possibility (when on view ‘photos’ where all photos / videos from all albums are displayed) to add a filter (above gallery) with all album names, that filter the gallery (when clicked) to only display photos / videos of the choosen album (like with a classic portfolio gallery).

    Is there some code that could be added for instance to functions.php to implement this functionnality?

    Thanks in advance for your support.

    Plugin Author Sayontan

    (@sayontan)

    Oh… you mean on the front end? No, that is not possible, and it was a conscious decision many years back to not build this.

    It is quite a complex addition if you want to build something like that. There is code similar in concept in include/scripts/admin/flow.js, starting from line 690, but this only works in the gallery creation screen whose screenshot I posted in my previous post.

    Bear in mind that a lot of additional complexities creep in, such as making layout adjustments, ensuring that clicking on “Show More” is not messing up layouts etc. The one I have in the gallery builder is easy by contrast, since the layout only has square tiles.

    Hi does this mean that we can’t really choose or select specific photos to add on a gallery when using flickr? just tags or albums?

    Plugin Author Sayontan

    (@sayontan)

    @miely,
    Before asking me this question about whether Photonic supports this, you need to ask yourself the following: How do you achieve this within Flickr itself? In other words, how would you direct people to a page on Flickr with a few photos that have no grouping whatsoever?

    At the end of the day, Photonic lets you do almost precisely what Flickr lets you do, except that Photonic does all of this in WP. If you can tell me how you would achieve this natively within Flickr, I can tell you how to mimic the same behaviour in Photonic.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Flickr / Multiple album layout / How to add Filter possibility’ is closed to new replies.