Exposure 0.9.1

Posted: April 14, 2011 in Exposure updates
Tags: , , , , , ,
Bugs Bunny

Less bugs.

Exposure 0.9.1 contains fixes for the following bugs:

  • AdBlock extension for Chrome/Safari blocks viewing of images – I was finally able to come up with a workaround for the bug described in this old blog post.
  • Thumbnails list changing height when switching page – All thumbnail containers should now get their height set properly. I had to modify the default behavior of the onPageChanged callback function. See the updated demo 1.
  • Fullscreen mode doesn’t properly center images in the window – The main image is now properly centered.
  • Fullscreen mode doesn’t respect borders and margins of the target element – Fullscreen mode now takes the border, margin, and padding of both the target element and the main image when calculating the maximum size of the image.


Support the Exposure project:


  1. ckl says:

    I’m finally able to install version 0.8.1, but have yet to play around with the settings. I’ll try 0.9.

    A couple of comments on your doc. When downloading jQuery, the site has two versions: min and uncompressed. Not knowing the difference, I downloaded and tried both. In your doc, you used the min version. Can you explain what are the differences?

    In your doc, these two lines are missing “/” at the end of each:

        <a href="myfirstimage.jpg" rel="nofollow"></a>
        <a href="mysecondimage.jpg" rel="nofollow"><a>

    Of course, only a newbie like me would get tripped up by them 🙂

    • Kristoffer says:

      A minified version of a JavaScript is stripped from everything that’s not needed for the script to run (mainly white spaces and comments), and sometimes the code is also obfuscated. This makes the minified file much smaller than the uncompressed version, which is good for your visitors (your page doesn’t take as long to load). The downside with the minified version is that the code is extremely hard to read, so if you would have to debug it or make modifications to the code it’s almost impossible to know where to look. A good rule is that you use an uncompressed version during development and testing, and a minified version when you go live. However for big, stable, and well tested libraries like jQuery you very rarely need to dig into the actual code, so I would say that you can go ahead and always use the minified version.

      Thanks for notifying me about the missing “/” in the docs! I’ve corrected it now.

      PS. When posting code examples you need to put your code between [ code ] [/ code ] tags (remove the spaces).