WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Shadowbox JS

Shadowbox is an online media vieiwing application similar to Lightbox and Thickbox but with more functionality. Supports all types of media.

What image file types will this plugin automatically add Shadowbox to?

bmp, gif, png, jpg, and jpeg

What movie file types will this plugin automatically add Shadowbox to?

swf, flv, f4v, dv, mov, moov, movie, mp4, asf, wm, wmv, avi, mpg and mpeg

What audio file types will this plugin automatically add Shadowbox to?

mp3 and aac

When I click on my YouTube links I see the full YouTube web site and not just my video. What is wrong?

You have probably used the wrong form of the YouTube URL. If you used something like http://www.youtube.com/watch?v=3D3kFn_3xRY that will disaply the YouTube website and not just the video. To just get the video use a link that looks like http://www.youtube.com/v/3D3kFn_3xRY.

How can I use a custom Shadowbox skin without having to worry about it being deleted during the upgrade process?

The first thing you will need to do is to download shadowbox.js source from the github repository: http://github.com/mjijackson/shadowbox/downloads

Second modify and build as required, then follow the next 2 FAQs for using a custom shadowbox.js and a custom shadowbox.css. I will not tell you how to build shadowbox, you can find that information in the source download.

You do not necessarily have to do both. It is possible to only load a custom markup or only a custom css.

I cannot seem to get the plugin to download the Shadowbox source. What can I do?

You can follow the steps outlined in the 'How can I use my own shadowbox.js' and 'How can I use my own shadowbox.css?' or you can manually download and extract as explained by the plugin.

I don't want to downlaod the source from your site at all. How else can I get the source?

Follow the steps outlined in the 'How can I use my own shadowbox.js' and 'How can I use my own shadowbox.css?'.

How can I use my own shadowbox.js?

Download or purchase Shadowbox from http://www.shadowbox-js.com/ and then...

This can be accomplished using filters. You will need to run a filter on 'shadowbox-js'; and here is some sample code to show you how:

function custom_shadowbox_js($url) {
    return get_bloginfo('stylesheet_directory') . '/js/shadowbox.js';
}
add_filter('shadowbox-js', 'custom_shadowbox_js');

Just drop that code, modifying to your needs, in a custom plugin or mu-plugin and enjoy.

How can I use my own shadowbox.css?

Just as above this can be accomplished using filters. You will need to run a filter on 'shadowbox-css'; and here is some sample code to show you how:

function custom_shadowbox_css($url) {
    return get_bloginfo('stylesheet_directory') . '/css/shadowbox.css';
}
add_filter('shadowbox-css', 'custom_shadowbox_css');

Just drop that code, modifying to your needs, in a custom plugin or mu-plugin and enjoy.

Can I selectively load Shadowbox on pages that need it?

Yes. However this functionality requires WordPress 2.8. If you are running WordPress 2.8 and you would like to enable this functionality visit Settings -> Shadowbox JS and set Enable Smart Loading to true.

Why isn't this plugin working?

Check to make sure that you have <?php wp_head(); ?> in your themes header.php and <?php wp_footer(); ?> in your themes fotoer.php. See the default WordPress theme for examples. Also see the FAQ below.

This plugin has stopped working since I installed another plugin or another plugin has stopped working since I installed this plugin. What can I do?

Try changing the Javascript Library used by this plugin to something other than 'None' on the Shadowbox JS settings page in the WordPress admin.

Is this plugin really GPL?

The plugin itself is GPL, however Shadowbox and JW FLV Player are not GPL. Without the non GPL Shadowbox component, this plugin cannot function.

Shadowbox is licensed under the terms of the Shadowbox.js License. This license grants personal, non-commercial users the right to use Shadowbox without paying a fee. It also provides an option for users who wish to use Shadowbox for commercial purposes. You are encouraged to review the terms of the license before using Shadowbox. If you would like to use Shadowbox for commercial purposes, you can purchase a license from http://www.shadowbox-js.com/.▒

JW FLV Player is licensed under the terms of the Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. If you would like to use JW FLV Player for commercial purposes, you can purchase a license from https://www.longtailvideo.com/players/order2.▒

Neither Shadowbox nor the JW FLV Player are actually included in this plugin. The plugin will ask you to download these files after installation and activation.

Requires: 3.3 or higher
Compatible up to: 3.4.2
Last Updated: 2012-4-20
Downloads: 498,477

Ratings

3 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
100,2,2 100,4,4 100,4,4
100,6,6 100,1,1
100,1,1 83,6,5
100,1,1 85,13,11 100,1,1
90,10,9 67,3,2 100,1,1 84,19,16
87,15,13
92,13,12
100,2,2
100,1,1
100,7,7
83,6,5
80,5,4
100,1,1 11,9,1 75,4,3 33,3,1 100,2,2
100,3,3
91,11,10
0,2,0 67,6,4
50,4,2 50,4,2 100,2,2
100,2,2
25,4,1
100,4,4
75,4,3
60,5,3
86,7,6
100,2,2
50,2,1
100,1,1
0,1,0
100,1,1
100,1,1