Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

portfolio theme – photoswipe

  • #10295
    Avatar photo[anonymous]

    Hi,

    I’m exploring the portfolio theme, but when I place a gallery in the post, it doesn’t show up as a photoswipe lightbox.  Images merely click to the jpg.

    What’s the trick here to get it to work as other themes, it just worked fine by adding a ‘gallery’ in the posts and uploading images.

    Thanks!!

    #10297
    Avatar photo[anonymous]

    Ok, so a bit more context, maybe it’s because I’m using an alternative post template.  All I did was start the post section with the below to add all the posts related to sketchbook.  That shows up fine and lists it all nicely, but any gallery in those posts, don’t show up as the photoswipe/lightbox thing.

    {{#each @website.contentStructure.tags}}
                  {{#checkIf this.name '==' 'sketchbook'}}
                     {{#if this.postsNumber}}
                     {{#each this.posts}}

    I’m just trying to create a post that shows up all my posts related to a tag – so I made a new post template for each tag name…not sure if this is the best way, but i’m kind of getting what i want, minus the nice photoswipe gallery