Give help. Get help.

  • # April 18, 2013 at 4:14 pm

    So I have a website that I’m messing around with through Tumblr (, and my theme has the Tumblr light box effect for when I post two or more pictures in the same posting. But I would like this feature to include single posts as well. If you visit the site you’ll notice when you click on the first image it redirects you to another page, but how would I add the light box feature to single images like this?

    cc @thedoc

    # April 18, 2013 at 4:19 pm

    Unfortunately, if you’re using the built-in Tumblr lightbox for photosets there’s currently no way to apply it to single photos as well. What you *can* do is apply your own lightbox (eg. [View.js]( “”)) to single photos.

    # April 18, 2013 at 4:29 pm

    Right on! Thanks @thedoc!

    # April 23, 2013 at 5:00 pm


    Hey so I bought View.js and now I’m pretty confused as to how to implement this in my website. I read the directions to install it on their website but I’m pretty confused. Could you help guide me in the right direction?

    # April 23, 2013 at 5:10 pm

    So you’d include the script on your page, and then simply add a class to your photo posts like this:

    # April 23, 2013 at 6:04 pm

    I still can’t figure it out. This is what opened when I downloaded the view.js

    And is this the right place to post your code you gave me?

    I also don’t understand where to paste the script.
    Thanks for putting up with newbies!

    # April 23, 2013 at 6:16 pm

    1) Upload the view.min.js file through here:

    2) Copy the URL from 1 and paste it near the bottom of your theme file like this:

    3) Find where in your theme your `{block:Photo} … {/block:Photo}` posts are being rendered and look for `{LinkOpenTag}` and `{LinkCloseTag}`.

    4) Replace `{LinkOpenTag}` with ``

    5) Replace `{LinkCloseTag}` with ``

    # April 23, 2013 at 6:50 pm

    So this is the code I’m dealing with:

    I uploaded the view.min.js to the Static Uploader and pasted it too, but it’s still not working.

    # April 23, 2013 at 6:51 pm


    # April 23, 2013 at 6:59 pm

    So you’ll want to go like this:




    # April 23, 2013 at 7:08 pm

    Now when I click on a single image it redirects me to a new page where the image can be viewed larger. [Check it out it’s the first post.]( “”)

    # April 23, 2013 at 7:11 pm

    You have this:

    It should be this:

    Also, it needs to go near the *end* of your entire file, just before the closing `` will do.

    # April 23, 2013 at 7:29 pm

    @thedoc This is still not working. I don’t understand what’s going wrong.

    Here’s a [screenshot]( “”) of the developers instructions. Maybe I’m missing one of these steps?

    # April 23, 2013 at 7:51 pm

    You didn’t follow the instructions in my post above. Once you’ve done that, let me know and I’ll have a look.

    # April 23, 2013 at 8:45 pm

    I Posted this code right before the closing And nothing happened.

Viewing 15 posts - 1 through 15 (of 34 total)

You must be logged in to reply to this topic.