I have future plans to create an Octopress Boostrap theme however in the meantime I’ve had an immediate desire for implementing a modal window for displaying large images.

Upon searching around I found Brian Clapper’s A Simple Octopress Image Popup Plugin blog post on a plugin that he created. His plugin is great however I really like Twitter Bootstrap, not that I’m not a fan of jQuery UI but I definitely don’t like jQuery UI’s popup dialog as it seems old and outdated. So I came up a derivitive of Brian’s plugin for implementing a Boostrap Modal window instead and also included a minor image float\aligment enhancement as well.

You can see a live example of this plugin in one of my previous blog posts jQuery Validation With Twitter Bootstrap

For the plugin and source checkout the plugin from my GitHub repo, octopress-BootstrapModal. Fork it, make updates and enjoy.


Comments