Forums
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I think it’s as simple as linking to the post instead of to the photo.
So instead of using {LinkURL}
or {LinkOpenTag}...{LinkCloseTag}
you would just use {Permalink}
.
@TheDoc have a quick related question. In my theme, I have div’s on the frontpage that show a preview of each photoset vertically, but they currently link to the post page through a permalink. When I changed it from
{block:Photoset}
block:IndexPage}
{block:Photos}
<a href="{Permalink}">
<img src="{PhotoURL-HighRes}" /></a>
{/block:Photos}
{/block:IndexPage}
{/block:Photoset}
to
{block:Photoset}
block:IndexPage}
{Photoset-250}
{/block:IndexPage}
{/block:Photoset}
It would enlarge the images within the div when I clicked on them. Is there a way for Lightbox to trigger on the Index page the way it does on the Post page? They have the same div structure on both pages. Thanks!
@jang – sorry but it’s been a long time since I’ve been in Tumblr theme land. As long as you are using {Photoset-[val]}
it should use the lightbox.