Lightbox JS is a simple, unobtrusive script used to to overlay images on the current page written by Lokesh Dhakar. Add rel="lightbox" attribute to any link tag to activate the lightbox. This plugin integrate its feature into your WordPress blog. Version: 0.8.2 Author: Safirul Alredha Author URI: http://zeo.unic.net.my/ License: Creative Commons Attribution-ShareAlike */ define("IMAGE_FILETYPE", "(bmp|gif|jpeg|jpg|png)", true); function wp_lightboxJS_init() { $url = get_bloginfo('wpurl'); ?> if (toolbar) { var theButton = document.createElement('input'); theButton.type = 'button'; theButton.value = ''; theButton.onclick = ; theButton.className = 'ed_button'; theButton.title = ""; theButton.id = ""; toolbar.appendChild(theButton); }