WP Thickbox Integration

This WordPress plugin integrate easily Thickbox into your front-end blogs.

The  “thickbox” class name is included into your image tag without touching the html. You can select an option “Open in the same window” on the Edit Image Panel.

You can include the Thickbox parameters to the URL on the Link Url field like this example to open an iframe:
Link Url: http://web-argument.com/?KeepThis=true&TB_iframe=true&height=400&width=600

WordPress Galleries are automatically set for use Thickbox, so you just need to insert the “gallery” into your post and the “class” name and “rel” tag will be included.

The plugin uses the wordpress back-end “jquery” and “thickbox” javascript files to maximaze themes and plugins compatibilities.

Download the plugin here.

Wp Thickbox Integration

Support our project, leave your comments or make a donation.

29 thoughts on “WP Thickbox Integration”

  1. Two things:
    1. When I use your plugin with WP-Cumulus (Flash based Tag Cloud), your pictures are below/under the tag-cloud, which doesn’t look very nice. How can I fix this?

    2. How can I add only one picture which is like a gallery (you can click then within the layer for the next pictures -> as it is on this site here above!) I don’t want nine pictures, I want only one instead to show. See: http://www.juiced.de/blog/2009/03/07/website-relaunch-02-contact-domain-more/ (Unnecessary, but I don’t know how to use your plugin to solve this)

  2. how about using this plugin for text?
    I tried to implement it but without succes. I tried to make a combination using the plugin and a step by step tutorial for normal website and…I managed to make it open the window, but without the text.

    Solution for this?

  3. @Tom
    Thank you for your comments. You’r right!!!
    To fix this I think it’s better to override the values of “tb_pathToImage” and “tb_closeImage” in the plugin instead of edit the lines 8 and 9 of the /wp-includes/js/thickbox/thickbox.js file.

    I will try something like this to update the plugin:

    var tb_pathToImage = “< ?php bloginfo('url'); ?>/wp-includes/js/thickbox/loadingAnimation.gif”;

    var tb_pathToImage = “< ?php bloginfo('url'); ?>/wp-includes/js/thickbox/tb-close.png”;

    Regards,
    Alain

  4. There is an issue with the path to /wp-includes/js/thickbox/tb-close.png where my custom permalink structure (/%category%/%postname%/) is causing it to break. i.e. /furniture/wp-includes/js/thickbox/tb-close.png is the path to the icon after the page is rendered.

    The issue can be fixed in /wp-includes/js/thickbox/thickbox.js and removing “..” on lines 8 and 9.

  5. There is an issue with the path to /wp-includes/js/thickbox/tb-close.png where my custom permalink structure (/%category%/%postname%/) is causing it to break. i.e. /furniture/wp-includes/js/thickbox/tb-close.png is the path to the icon after the page is rendered.

  6. Thanks for this plugin, it randomly came up in my dashboard and this was the improvement that the ‘gallery’ feature really needed (and most other tools were not up-to-date for 2.5+).

Leave a Reply

Your email address will not be published. Required fields are marked *