• Resolved skaldenhoven

    (@skaldenhoven)


    Today I tried to show a couple of photos on a page from a smugmug album. The smugmug album is publicly available via https://gallery.kaldenhoven.photography/Sluizenloop/Sluizenloop-2023
    For a couple of photos I added the keyword ‘website’.
    I added the Photonic widget for Smugmug to the page with the following settings.
    What do you want to show => Photos from an Album
    User => Current User
    On Pick your Album
    Only show photos with these keywords => website
    Selected the correct album. (The one with the link above)
    Layout: Justified Grid
    Configure Layout all from defaults except number of photos which is set to 5.
    Saved the page and when viewing I am seeing the first 5 photos from the album instead of the ones with the keyword website.
    I added the API Key and secret as well as a Access Token Auth and Secret but still no luck.
    Am I still missing something? A setting in the Smugmug album?
    Any help appreciated. Below the generated code by the plugin.

    type: smugmug
    view: album
    album: GBz5f7
    nick_name: sanderkaldenhoven
    keywords: website
    count: 5
    layout: random
    The following is the corresponding shortcode for this block. If for some reason you are unable to create a Photonic block you can paste this into a Shortcode block:
    
    [gallery type='smugmug' view='album' album='GBz5f7' nick_name='sanderkaldenhoven' keywords='website' count='5' layout='random']
    • This topic was modified 2 years, 6 months ago by skaldenhoven.

    The page I need help with: [log in to see the link]

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

    (@sayontan)

    There is a bit of a broken user experience here. When I pass this shortcode, it works:

    [gallery type='smugmug' view='images' album='GBz5f7' nick_name='sanderkaldenhoven' keywords='website' count='5' layout='random']

    Note that here, I have view='images', not view='album'. That is because I have modified the shortcode by hand. The Gallery Wizard will not let you build out this shortcode.

    If you are using Gutenberg, one thing you could do is, create a shortcode block, then paste out the above by hand. That should make it work.

    I will fix this in the next release.

    Thread Starter skaldenhoven

    (@skaldenhoven)

    Thanks a lot for this hint! No worries. I switched the editor to code and changed the view= parameter and it indeed works! Loading is a bit slow but probably because of the filtering being done. (requests back and forth to smugmug)
    My own mistake. Setting the ‘Tile Image Size’ to something lower than Largest helps a lot….

    Anyway thanks!

    • This reply was modified 2 years, 6 months ago by skaldenhoven.
    Plugin Author Sayontan Sinha

    (@sayontan)

    FYI, I have modified the code to handle this correctly in version 3.03.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Smugmug filter on keywords not working for me’ is closed to new replies.