The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Tumblr photoset permalink Reply To: Tumblr photoset permalink


No need for JS here at all.

Change your block to:

    <div class="entry type-photoset">
        <a href="{Permalink}" class="photo">
            <img alt="" src="{PhotoURL-250}">

Then in your CSS:

.type-photoset .photo {
    display: none;

.type-photoset .photo:first-child {
    display: block;

This will give you browser support all the way down to IE 7.