Shadowbox JS

Shadowbox is an online media viewing application that supports all of the web’s most popular media publishing formats. Shadowbox is written entirely in JavaScript and CSS and is highly customizable. Using Shadowbox, website authors can display a wide assortment of media in all major browsers without navigating users away from the linking page.

This plugin uses Shadowbox written by Michael J. I. Jackson.

Javascript libraries supported are: None, YUI, Prototype, jQuery and MooTools. Prototype and jQuery are used from the Javascript libraries included with WordPress, YUI is loaded from Yahoo APIs and Mootools is loaded from Google APIs.

This plugin can also be used as a drop in lightbox replacement, without requiring you to edit posts already using lightbox.

By default this plugin will use Shadowbox for all image links, movie links, audio links and YouTube/Google Video links including those generated by the [gallery] shortcode.

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/.

This plugin also makes use of the JW FLV Player. 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.

Please use the Shadowbox JS support forum for problems or questions with this plugin. Support questions will be ignored if left as comments on my site, through my contact form or by email. The only supported location for support questions is http://wordpress.org/tags/shadowbox-js.

This plugin is absolutely not supported when used in combination with the Thesis theme. Please do not ask for support if you are using such a configuration.

Version Information

Version: 3.0.3.10.2
Requires WordPress Version: 3.3
Compatible Up To: 3.4

Download

Downloaded: 383761 times
Latest version: Download Shadowbox JS v3.0.3.10.2 [zip]
Other versions: Download Shadowbox JS archives

Screenshots

  1. shadowbox-js screenshot 1

    An Image

  2. shadowbox-js screenshot 2

    A Website

  3. shadowbox-js screenshot 3

    A YouTube Video

Samples

Pumpkin Cat Wordpress.org Google Video

Sample Gallery using [gallery] shortcode

Installation

  1. Upload the shadowbox-js folder to the /wp-content/plugins/ directory or install directly through the plugin installer
  2. Activate the plugin through the ‘Plugins’ menu in WordPress or by using the link provided by the plugin installer
  3. Visit the settings page in the Admin at Settings -> Shadowbox JS and install the required dependencies
  4. Optional: Activate the ‘Shadowbox JS – Use Title from Image’ plugin to push the title from ‘img’ tags onto the parent ‘a’ tag

Upgrade

  1. Use the plugin updater in WordPress or…
  2. Deactivate the Shadowbox JS plugin
  3. Delete the previous shadowbox-js folder from the /wp-content/plugins/ directory
  4. Upload the new shadowbox-js folder to the /wp-content/plugins/ directory
  5. Activate the Shadowbox JS plugin
  6. Visit the settings page in the WordPress admin at Settings -> Shadowbox JS and install the required dependencies if needed

Usage

  1. By default this plugin will add the activator attribute to all image links, movie links, audio links and YouTube/Google Video links that do not already have the activator attribute. Meaning basically, by default all images in the posts on your site will automatically be displayed using Shadowbox.

If you want more fine grain control over the links continue with the next steps. If not then stop here.

1. Create a link in your post in the following format (This link can be to pretty much anything including websites, video files, YouTube, Google Video and inline content):

<a href="http://domain.tld/directory/to/image.jpg" rel="shadowbox[album]">Image</a>

2. Be sure to include rel="shadowbox" as this activates the plugin.
3. If rel="shadowbox[album]" is included the portion listed here as [album] will group multiple pictures into an album called album. Do not use [gallery] to define an album as WordPress has a shortcode that will interfere.
4. If you are using this as a lightbox replacement you do not need to change rel="lightbox" to rel="shadowbox". Shadowbox.js supports rel="lightbox" natively.
5. If you want to make a gallery/album and only want one link to display you can use class="hidden" to hide the additional links.
6. See http://shadowbox-js.com/doc/usage.html#markup for detailed markup instructions.
7. If you are using using Shadowbox globally for all images but have an image you do not wish to use Shadowbox on use rel="nobox" in your image link.

FAQ

Q. What image file types will this plugin automatically add Shadowbox to?
A. bmp, gif, png, jpg, and jpeg

Q. What movie file types will this plugin automatically add Shadowbox to?
A. swf, flv, f4v, dv, mov, moov, movie, mp4, asf, wm, wmv, avi, mpg and mpeg

Q. What audio file types will this plugin automatically add Shadowbox to?
A. mp3 and aac

Q. When I click on my YouTube links I see the full YouTube web site and not just my video. What is wrong?
A. 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.

Q. How can I use a custom Shadowbox skin without having to worry about it being deleted during the upgrade process?
A. 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.

Q. I cannot seem to get the plugin to download the Shadowbox source. What can I do?
A. 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.

Q. I don’t want to downlaod the source from your site at all. How else can I get the source?
A. Follow the steps outlined in the ‘How can I use my own shadowbox.js’ and ‘How can I use my own shadowbox.css?’.

Q. How can I use my own shadowbox.js?
A. 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.

Q. How can I use my own shadowbox.css?
A. 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.

Q. Can I selectively load Shadowbox on pages that need it?
A. 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.

Q. Why isn’t this plugin working?
A. 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.

Q. 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?
A. Try changing the Javascript Library used by this plugin to something other than ‘None’ on the Shadowbox JS settings page in the WordPress admin.

Q. Is this plugin really GPL?
A. 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.

Changelog

3.0.3.10.2 (2012-04-20):

  • Don’t assume that the uploads dir is wp-content/uploads, use wp_upload_dir to get the correct path. This only affects the meta box that informs users where they can manually place the files.

3.0.3.10.1 (2012-04-10):

  • Update S.path in shadowbox to the new URL of where the source files are located
  • Clear the missing files nag if the files were downloaded manually

3.0.3.10 (2012-03-13):

  • Removed the upstream Shadowbox JS package from the plugin. As a result, this plugin has been updated to handle downloading the required files for use.

3.0.3.9 (2011-12-08):

  • Updates to handle the script enqueueing in WordPress 3.3

3.0.3.8 (2011-06-08):

  • Due to large reworkings script dependencies were not being loaded when a library other than ‘None’ was selected on the settings page

3.0.3.7 (2011-06-07):

  • Missed a merge

3.0.3.6 (2011-06-07):

  • Had to bump the version because I forgot to do so previsouly for 3.0.3.5 for the sub plugin, this should fix update notices

3.0.3.5 (2011-06-07):

  • Update Javascript code comments to be safe with broken HTML minification processes
  • Hook into the_content if Smart Loading is disabled instead of the_posts
  • Better post id detection for gallery grouping

3.0.3.4 (2011-06-02):

  • Make the Shadowbox ‘album’ names a little more unique to bypass a bug in the WordPress shortcode regex where a ‘-’ is seen as the ending delimiter in a shortcode name

3.0.3.3 (2011-05-31):

  • Create new escaping functions to get around problems with plugins and themes filtering the builtin escaping functions
  • Make sure cached file is world readable before trying to enqueue it
  • Add option to disable creating and using the cached shadowbox.js
  • Code cleanups
  • Hook into the_posts instead of the_content for easier determination if styles and scripts should be enqueued.
  • Regular Expression enhancements
  • Add option to not used the cached shadowbox.js and have it generate on page load

3.0.3.2 (2010-04-05):

  • Replace missed wp_htmledit_pre functions in the options page

3.0.3.1 (2010-04-05):

  • Replace wp_htmledit_pre with htmlspecialchars as it seems themes and plugins are adding output using it’s filter

3.0.3 (2010-04-03):

  • Upgrade shadowbox.js to 3.0.3
  • Graceful degredation when plugin PHP files are missing
  • Remove custom upgrade notices in favor of the new built in functionality
  • Separate out the plugin into additional files for better organization
  • WordPress 2.8 minimum requirement
  • Make sure options are not blank, if a user tries to update an option with nothing in the admin, revert to the default value
  • Create a lot of filters so people can hook in and override things
  • Add additional plugin to push the title from ‘img’ tags to ‘a’ tags
  • Remove Dojo and Ext support

3.0.0.3 (2009-11-07):

  • Fix empty options on activation for new installs

3.0.0.2 (2009-10-30):

  • Update shadowbox.js build from upstream
  • Add option to disable sizzle.js
  • Enhance Upgrade Logic
  • Add Dutch translation
  • Update to not start anything until init at earliest
  • Split FLV from Auto Movies so that we can force certain file types to use the FLV player
  • Replace logic to use the video height and width for all videos by defualt, not just Youtube and Google Video

3.0.0.1 (2009-06-30):

  • Bring back PHP4 support
  • Increase speed by reducing the number of queries
  • Code cleanup
  • Add changelog output to upgrade notice in admin. Requires WordPress 2.8
  • Do not display majority of the settings page form if the options have been removed from the database
  • Fix broken localization directory name in code and update localization template
  • Remove unused javascript files
  • Add Russian translation

3.0.0.0 (2009-06-10):

  • Updated Shadowbox to 3.0b1
  • Code cleanup and optimization, will only load the code into memory that is needed
  • Removed IE8 hack since Shadowbox 3.0 now supports IE8
  • Added options to the admin page for modifying the default size of YouTube videos
  • Full screen in YouTube videos is now supported
  • Added options to the admin page for modifying flashVars, flashParams and minimum flash version required
  • Added option to the admin page for disabling Shadowbox.setup so that Shadowbox.setup can be run from another script to allow image maps through area tags
  • Disabled the FLV player by default since it has a non-commercial license. Must enable FLV player after accepting licensing in the admin
  • Added capability for loading shadowbox only when needed. Requires WordPress 2.8.
  • Added capability for only loading the shadowbox players you want.

2.0.4.1 (2009-03-24):

  • Add IE8 support by way of the X-UA-Compatibile meta tag

2.0.4.0 (2009-03-18):

  • Use domready events for javascript libraries other than None for intialization of shadowbox so that shadowbox works before the page is completely loaded
  • Initial support for WordPress 2.8, more updates will finalized as WordPress 2.8 is finalized
  • Bulgarian translation for shadowbox.js added
  • Code cleanup
  • Change default size for Youtube videos
  • Add automation to the_excerpt so links in custom excerpts can utilize shadowbox
  • Support for custom skins using a filter (see the FAQ)

2.0.3.3 (2009-01-23):

  • Fix issue where replacement was trying to be done when no replacements were necessary
  • Add feature to attempt to automatically set Shadowbox language based on defined WordPress language
  • Only load the required javascript in the admin when on the shadowbox-js settings page
  • Clean up code

2.0.3.2 (2008-12-26):

  • Fix animate and animateFade select options, were true/true, now true/false
  • Fix PHP warnings about non-existent $_POST array indexes

2.0.3.1 (2008-12-23):

  • Updated invalid php start tag

2.0.3.0 (2008-12-23):

  • Added options page to admin interface
  • Added support to automatically use Shadowbox for movie, audio and YouTube/Google Video links.

2.0.2.1 (2008-09-22):

  • Fixed typo in variable name containing the previous rel attribute of the link

2.0.2 (2008-09-22):

  • Added support to automatically use Shadowbox to display all images in your posts including those generated by the [gallery] shortcode.
  • Added deactivator rel attribute. Use rel=”nobox” to not use Shadowbox to display an image when global activation is configured.

2.0.1 (2008-08-25):

  • updated code for readability
  • Added support for [gallery] shortcode

2.0 (2008-08-11):

  • Updated shadowbox.js to version 2.0
  • Added various options and changes to support shadowbox.js version 2.0
  • Updated javascript library locations to use Google APIs and Yahoo APIs where applicable.
  • Changed versioning of the plugin to match that of the shadowbox.js version

0.4 (2008-04-10):

  • Updated to use assetURL for location to shadowbox files
  • Cleaned up code and added extended comments
  • Added extras.css with support for hidden class
  • Added support to not include javascript libraries

0.3 (2008-02-26):

  • Updated Shadowbox.js to version 1.0 Final
  • Added support for Ext, Dojo and MooTools Javascript Libraries
  • Removed lightbox2shadowbox function/filter as Shadowbox.js now natively supports rel=”lightbox”
  • Consolidated repetitive code
  • Removed images that were not in use
  • Selected MooTools as the default as it contains the smallest payload

0.2 (2008-02-22):

  • Initial Public Release

271 thoughts on “Shadowbox JS

  1. @david: not easily. You would have to use a Plugin to do it and I’m not aware of any plugin that has that functionality. In addition rel=”shadowbox” is applied to the link and not the image which would make it more difficult. You wouldn’t want to apply it to all links only those with images.

    I may begin work on such a plugin shortly.

  2. Pingback: links for 2008-02-28 at orioa

  3. Is there a way to specify the dimensions of the media? I tried embedding a Google Video, and it was smaller than I prefer, so I tried the same with a YouTube video, which automatically fills the screen.

    Otherwise, great job!

    Josh

  4. Hey, this is a seriously cool plugin!

    I have somes questions about shadowbox with videos tho.

    If I specify a URL from, say, a Veoh video, then can I still use the FullScreen feature from the Veoh video player?

    Thx!

  5. @Eric: First thanks! Second, as long as the video player used by Veoh has a full screen mode, then that full screen mode will work. The FLV Player that is included with the plugin has a full screen mode and that works without problem.

  6. Thanks for your answer!

    I actually tried implementing Shadowbox into my new blog and it’s working well. However, I am still having trouble getting the Full Screen function to work with a Veoh video. I am sure the Veoh video has a Full Screen function. Here is the link I use to post the video in a Shadowbox:
    <a href="http://www.veoh.com/videodetails2.swf?permalinkId=v6278349gZhm8ZDj&id=anonymous&player=videodetailsembedded&videoAutoPlay=0&quot; title="Bleach 162" rel="nofollow">Bleach 162</a>

    I am not sure what I have to specify to enable the Full Screen function. Right now if I click the Full Screen button, nothing happens.

    Other than that, everything else working great!

    Any help would be greatly appreciated.

  7. I have noticed two possible bugs with the shadowbox plugin.

    First, I noticed that it does not seem to want to play any streaming videos that are located on my streaming server beginning with the protocol rtsp://

    Second, I noticed it does not like to play the slideshow component I have purchased from http://slideshowpro.net/. Slideshowpro is just a component displayed in a swf, for those of you who are unfamiliar.

    These features worked with the original shadowbox written by Michael J. I. Jackson. But will not work with the plugin.

    Any ideas?

  8. @Miles: This plugin implements the Shadowbox.js plugin simply by inserting the javascript libraries and css files into the headers. There have been no modifications to the Shadowbox code.

    I have noticed however that WordPress can cause some issues because it converts special characters to html friendly characters. Such as &. And when doing this Shadowbox.js has some difficult determining the mime type of the files.

  9. Hi, could you please tell me what this means exactly (in n00b speak)?

    “Edit shadowbox-js.php and modify $jsLib and $lightCSS based on the comments following each variable.”

    also what do you mean by this:

    NOTE: Do not use the visual editor for doing the above use the code editor. When modifying this post in the future do not use the visual editor; please use the code editor always.

    ??

  10. @Babak: If you are not sure what it means to modify $jsLib and $LightCSS then don’t do it. The plugin will simply work with the defaults.

    As for not using the visual editor when you are typing a post or page there is a tab that says visual and a tab that says code. When writing a post that uses this plugin never use the tab labeled visual. Always use the tab labeled code.

  11. Hello Matt,

    Your plugin and provided comments as well as written instructions for the plugin are very helpful and I am happy to have found such a great feature to utilise for my website. I’m currently in the process of uploading completed assignments in the form of videos/images/flash files to get feedback from friends, classmates and others.

    What I wanted to ask you is how could I present your code for the shadowbox to show a thumbnail so that there is a visual descriptor before clicking on it to watch a larger version (be it a video or image), rather than just a link?

    Thank in advance for your continued support.

    Warm regards,

    Luke

  12. First of all, LOVE the plugin. Very sexy. I think I have a pretty challenging task…

    I want to be able to use this feature when someone clicks on a page in the main navigation. The only way I know how to redirect pages to external URLs is to use the “EasyRedirect” plugin which also does not have the external link open in a new window. I figured this Shadowbox feature would look so nice when needing to direct someone to an external site. Have any ideas?

    BTW — I did try to go into the easyredirect.php to see if I could add the rel=”shadowbox” to the link — and I am just not that up to snuff with PHP. I have yet to find any support for the easy redirect plugin.

    Thanks again for the awesome plugin. Very nice.

  13. fantastic plugin… Can you tell me how i can use shadowbox from Flash, i.e if i have a link in flash so it will still open i shadowbox like it would if i linked from an html page etc. Thanks again

  14. Matt, what an awesome plugin. I’m just getting my site revamped in WordPress (1st timer). I have previously installed and worked with Lightbox via handcoding and CSS. Your plugin saves VALUABLE amounts of time and validates. Fantastic contribution to the WordPress Community.
    Thanks-

  15. @Luke: You would simply need to create a thumbnail image upload it using WordPress while writing a post and create a link in the form of:
    <a href="..." rel="shadowbox"><img src="..." /></a>

    See my examples above under the usage section.

    @Rene: At this point in time I’m not sure what you would need to do. If I have some available time in the near future I’ll take a look into it.

    @Cybershead: That is a bit out of scope for what this plugin is aimed at. I would see the original authors site of Shadowbox.js to see if you can find that information. http://mjijackson.com/

  16. The script works with IE, BUT I just ran into a problem with using it while the ‘curreX’ currency converter widget is installed. That widget breaks shadowbox. And Shadowbox breaks that widget AND any dropdown boxes on the page. This is, of course, only when BOTH plug-ins are active.

  17. @Josh: I would imagine it is because curreX loads prototype.js for its use. This plugin uses mootools by default and it may be causing some issues. I would try setting the jsLib variable in shadowbox-js.php to prototype and see if that fixes your problem.

  18. Matt, I’ve uploaded and installed the plugin but it doesn’t seem to work. I can see a brief lightbox effect, when the whole screen goes grey after clicking on the image with the rel="nofollow" tag but then it fails.

    see here for an example, where it says, Click to Enlarge Graph

  19. @Babak: I would try 2 things. One remove class=”imagelink” from the ‘a’ tag. Second try removing the onclick event for urchinTracker from the ‘a’ tag.

  20. oops! I meant rel=”lightbox” not “nofollow” but anyways…

    I’ve removed the class=”imagelink” but I’m not sure what you mean by onclick even for urchinTracker… I don’t see any such tag on the ‘a’ or ‘img’ tag?

    does that have something to do with google analytics?

    I’m confused (again)

    thanks for your help

  21. @Babak: Lets try changing the javascript library you are using in the plugin from mootools to prototype.

    Open shadowbox-js.php in some sort of text editor. Find the line that says
    $jsLib = 'mootools';
    and change that to
    $jsLib = 'prototype';

    After you have done that try it again. Another thing you can try is to temporarily disable Ultimate Google Analytics.

  22. when i use shadowbox standalone, i can launch a slideshow from a single link with html like:

    image 
    image
    image

    and all i see is a single link labelled image, which when clicked, launches the slideshow

    however when i try this with your plugin, i get every one of those ‘image’ anchors in the list above (eg

    image
    image
    image

    )

    the slideshow still works once launched, but i just want a single link displayed on the post…

    am i missing something (ie does it need to be done differently using the plugin?), or is this broken?http://sivel.net/blog/wp-content/themes/sivelnet/images/submit.gif

    thanks

    d

  23. er sorry that example code should have read

    <a rel="shadowbox[gallery]" href="a.jpg" class="option" title="A">image</a> 
    <a rel="shadowbox[gallery]" href="b.jpg" class="hidden" title="B">image</a>
    <a rel="shadowbox[gallery]" href="c.jpg" class="hidden" title="C">image</a>

  24. @darrell: The reason that it doesn’t work with this plugin is that the hidden class in not a feature of Shadowbox by Michael J I Jackson or this plugin.

    The hidden class was included in the full download from Michael J I Jackson’s site which includes a sample gallery and the documentation. That class is part of style.css which is part of the sample gallery.

    If you want to add this functionality to this plugin open shadowbox-js/css/shadowbox.css in a text editor or through the plugin editor in WordPress and add the following to the end of that file:

    .hidden {
         display: none;
    }
    
  25. hey.

    I was wondering if you could explain how to edit your script to include these options={counterType:’skip’, continuous:true, animSequence:’sync’}

    as described on mjijackson.com these can be added on a per link basis but i want to add it to the header so its site wide eg

    <script type="text/javascript">
    
        $(document).ready(function(){
    
        var options = {
            resizeLgImages:     true,
            displayNav:         false,
            handleUnsupported:  'remove',
            keysClose:          ['c', 27], // c or esc
            autoplayMovies:     false
        };
    
        Shadowbox.init(options);
    
    });
    </script>
    
  26. @Colin: I’ll only go into the brief details about what you need to do. Past that if you are on your own. If you find that you have no idea about what you need to do then contact me via the “contact” link at the top of my site.

    1) Open shadowbox-js.php in your favorite text editor or using the WordPress plugins editor.
    2) Find the lines beginning with $initOps
    3) Add the additional lines for resizeLgImages, displayNav, handleUnsupported, keysClose and autoplayMovies.
    4) Save the file.

    If you need additional help please use the contact link at the top of all pages on this site.

  27. Hi,

    Great plugin! I’ve managed to get it working for one photo just fine – but heres a simple question.

    If I have say 10 photos, how do I create a link, say from one photo to the album and then when the shadowbox window opens from that link i can scroll or click through all the photos?

    Also, is there anyway to put captions under each photograph?

    Thanks and once again thanks for the great help!
    Cal.

  28. hi,

    i just came accross your plugin and its the first of its kind which seems to work perfect for my website. just one tiny things regarding the flash player. is there any chance to get hold of the original fla of the player so i can add my player skin again ?

    cheers
    chris

  29. @Cal:

    What you need to do is open shadowbox-js/css/shadowbox.css in a text editor or through the plugin editor in WordPress and add the following to the end of that file:

    .hidden {
         display: none;
    }
    

    Now all you need to do is create links to all of the images. In the images that you do not want to display add class="hidden" to the <a> tag. This will keep them from displaying. You will also need add the gallery to the rel attribute of all of the <a> tags so that it looks like rel="shadowbox[mygallery]"

    Full examples:

    <a href="http://example.org/image1.jpg&quot; rel="shadowbox[examplegallery]" rel="nofollow">Image 1</a>
    <a href="http://example.org/image1.jpg&quot; class="hidden" rel="shadowbox[examplegallery]" rel="nofollow">Image 2</a>
    

    Image 1 will display and Image 2 will not. But once you click Image 1 there will be Next/Previous links to navigate through your gallery.

  30. Hi,

    great plugin. I have the same question as Cal above. I want to have only one link – view images – and when clicked it opens up the first image of a collection of about 10 images and the user can click next to view the other images. Is this possible?

    Thanks

    Rob

  31. Thanks for that Matt – any chance you could quickly go over whats needed to do that – is it just CSS or editing the PHP? I can probably figure it out if you point me in the right direction. would it work if all of the images except the first were set to display:none?

    Thanks

    Rob

  32. Matt, I followed your instructions but no change. It still just blips and then skips it.

    I also upgraded ultimate GA plugin which uses the ga.js instead of urchin.js

    any ideas why it isn’t working? does it require a certain version of wordpress? thanks

  33. I feel your version is currently the best of the lightbox-type plugins for WordPress. My only question is this: how can I go about changing the size of the font used by the title attribute on a case-by-case basis. I’ve noticed if my title contains too much text (more than 38 characters or so), it gets cut off. Decrease font size or wrap? How?

  34. Clarification: In the case I’m citing, my image is of a vertical orientation and only about 400px wide. So that ends up being about 38 characters. Obviously if I were to resize my image to make it wider, my title would fit. So perhaps it’s a matter of opinion whether wrapping or resizing the font would look better.

  35. Pingback: Ichigo no Burogu

  36. I had this plugin activated and working on my site, and then I upgraded to WordPress 2.5 from 2.3.3 and suddenly it is no longer working. Do you know what the problem might be? I’ve tried activating, deactivating, deleting. Everything, and I can’t figure it out. Even the old posts where it was working are no longer displaying it correctly.

  37. @Steve: Looks like you also have the Lightbox Plugin activated. Shadowbox and Lightbox will interfere with each other. Try disabling Lightbox and try again.

  38. @Steve: Try:

    Open shadowbox-js.php in some sort of text editor or with the wordpress plugin editor. Find the line that says
    $jsLib = 'mootools';
    and change that to
    $jsLib = 'prototype';

  39. @Steve:
    Did you tried to deactivate MyGallery? That worked for me, maybe it has the lightbox-plugin integrated or something like this.

    @all:
    If I view my blog in Firefox all’s fine.
    If I view it in IE6, too..
    But in IE7 the overlay is in the foreground, but the reffered website is show BEHIND the overlay, under the sidebar and the content in the background. I changed $jsLib to “yui” and “prototype” but it didn’t help.
    I tried do download mootools.js from the mootools site, but that was a bad idea, so i changed it back.
    I was looking in the css-file for an error but I couldn’t find one. I hope someone can help me with this ’cause it’s an urgent problem, I have to finish my blog :-)

  40. Firefox for Mac has a little bug in it that it will turn Flash movies invisible if there is any element on the website touching it with a CSS opacity to it. Weird bug but documented.
    Shadowbox fixes this by detecting if it’s a FF for Mac browser and places a overlay-85.png file as the overlay instead.
    Problem is that it doesn’t seem to be working… on my wordpress site at least. It’s still placing the opacity color like it does for all of the other browsers. Know what may be going on?
    To view the offending page, go here:
    http://richsmithphotography.net/59-bryan-and-abby.html
    But you have to have Firefox for Mac.
    Thanks.

  41. I don’t understand why it works for your site and for the Shadowbox.js site but it won’t put the correct css for my site.
    If it doesn’t find the png file, will it default to the opacity color? I put that png file everywhere I’d think it would need to be. Still doesn’t fix it.
    Does it have something to do with jquery?
    I’d love to get this thing fixed since a lot of my photographer friends use Macs!

  42. Okay… I figured it out.
    This was the piece of code that was causing me the trouble.

    overlay: /(img|iframe|html|inline)/, // content types to not use an overlay image for on FF Mac

    I just took iframe and html out and it works fine now.

  43. Pingback: diploD » Blog Archive » Shadowbox JS: una media gallery nel plugin per wordpress

  44. I\’d like to make the \”close\” button larger, more easily seen and also to put it in say the top left corner, above the box. Is this possible? How would it be done?

  45. @Keith: I wont go into a CSS lesson here but you will need to make modifications to wp-content/plugins/shadowbox-js/css/shadowbox.css to reposition and enlarge the close link.

  46. I’m having the same issue as @Steve above. Upgraded WordPress to 2.5 and Shadowbox has lost the “next” and “previous” buttons.

    No other plugins on site.

    Tried switching these lines as suggested, no luck…
    $jsLib = ‘mootools’;
    and change that to
    $jsLib = ‘prototype’;

    Any advice would be great!

    Example on my site

  47. To answer my own question, I found that by changing the name of my picture group from [gallery] to [album] made the difference – all is working fine now….

  48. Ah! Awesome plugin!.

    But I wasn’t able to use it alongside the ‘Flickr-Tag’ plugin that I currently use. I understand it doesn’t use ” tags while posting and uses some ‘[tag]‘ thing. Any idea how I could deal with it? Thanks for the great plugin anyway :mrgreen:

  49. This looks like a really cool plugin but I haven’t been able to get it to work. I uploaded the plugin and activated it and used the rel=”shadowbox” in my link. I have used shadowbox on regular html site with no problem and was very excited to use it on my blog. Any help would be very appreciated.

    Thanx.

  50. Just a big Thanks!
    Easy to use, works perfectly – one plugin to implement both Flash videos, Quicktime (QTVR) movies and images. Perfect. Even quite easy to configure (though one has to tweek javascript file).
    Keep up the good work
    Kjetil

  51. I got the plugin to work perfectly, but when I click on a image to activate the shadowbox, the other flash content on my page disappears. Any idea on how to fix this?

  52. @GreatCoolDeals

    Did you tried to deactivate all other Plugins to test if there’s one not compatible?
    For me it didn’t work with the MyGallery and Lightbox Plugin activated.
    But there might be some other Plugins which have Lightbox or something else included. Just try activating one after another.
    Hope this will help you.

  53. The plugin works great on my blog with dojo, but doesnt work with the default motools implementation.
    I am not using any other lightbox type plugin.
    When motools js is being used the loading page (a loading animation with cancel link) is displayed perpetually.

  54. Hey.. i m trying to put shadowbox in my flash web-site..
    as in i have few photos and swf’s which i want to be opened in the shadowbox when i click them..

    Please help..i

  55. first, i love the plugin and sorry for my bad english. every movie (flv & mov) have a white flash at the start. how can i fix this?

  56. hello im having trubble with the frame it opens up….
    first-when i try to get it to open a utube video it opens the hole page not just the video
    second-the frame doesnt go up hight enough on my page people have to scroll down to see the hole shadow box and when u do that u can see the unshadowed page

  57. Hi there :)
    Even I’m facing problems getting it to work. However, this isn’t just limited to shadowbox. As a matter of fact any sort of lightbox / thickbox type plug-ins won’t pop the div up ! Instead the linked media is opened up in a blank page. I’ve no clue which other plug-in is interfering with it – that’s what I’m trying to figure out. Can you suggest some method through which I can determine the cause of the conflict?

    And in respect of this and this comment, curreX no longer uses Prototype. That was an ancient version of the plug-in. I’ve long shifted to jQuery and I moved jQuery to a separate namespace, so that it doesn’t conflict with any other JS lib using the $ namespace and cause breakdowns.

    Cheers,
    m^e

  58. Hi,
    i use shadowbox on several sides and i really like it.
    But i have got 2 Problems blog

    P.E. On my blog http://www.fotofraktion.de if i open a photo in the shadowbox, there is no “next” under the shadowbox-window, that whould be a link to the next picture i use with shadowbox.
    On another blog it had “next” and “previous” option. How can io get it?

    Another question is by using the shadowbox-plugin on a site not made by wordpress (but maybe someone can help me), its on http://fb-hotels.de/hotelfotos/pdf-download.htm . My problem is that the shadowbox-plugin loads after the last photo. So if i have a slow connection or many photos on one site, the shadowbox plugin doesn´t work with my first click.
    How can i manage to load the plugin earlier.

    Thanks, Flo

  59. Hi,

    Congratulation, it’s a wonderful plugin, love it, but there is something that could be a plus, it the possibility to have a little description under the photo, video or website, well for me it will be useful, but i don’t know how to do it.

    Keep going, you do great job.

    Regards, ;)

  60. Pingback: Vise videoer p

  61. Matt, great job with this plugin.

    I’m trying to get it to be reasonable with other mootools aware FXs but it is not liking mootools.js V1.2 so I end up having to load the jquery library, but I’d like to spare myself those extra 100+ Kb of code.
    Is shadowbox V 0.4 loked in with mootools v 1.11 or I’m messing up somewhere else?

  62. Also, are u planning a new version soon? if so it would be great to have access to all the aptions the mjijackson.com flash player has to offer (see the simpler implementation of the player @ http://mac-dev.net/blog/flash-video-player-plugin-customization/)

    I was trying to trigger the shadowbox using the fullscreen button on the player itself, like they do it @ ted.com. Do you think it’s possible without messing up with the player itself?

    Tx for your work. Keep it up.

  63. Pingback: Video Package Wordpress Theme : Jerico Systems

  64. @Radu Capan: Absolutely! I have been waiting for the 2.0 release so that I could do just that. I am working on another plugin at the moment and another site. Within the next 2 weeks I hope to release an update to Shadowbox-JS. I have some other changes (WP 2.6 related) that need rolled into all of plugins as well. Should be a busy couple of weeks.

  65. Hello Mat;

    great plugin, im a big fan of shadowbox…
    im using your plugin for a clients blog/site and they want to display the content of a post. Ive been trying to implement the iframe and html method as stated in mjijackson.com, the issue is that the shadowbox wont load, but the specified content does. maybe it could be an issue with the permalinks? im using the default value.
    my link would be
    <a rel="shadowbox; content="iframe" href="http://localhost/delkes/wordpress/?page_id=5">iframe</a&gt;
    or
    <a rel="shadowbox; content="html" href="http://localhost/delkes/wordpress/?page_id=5">iframe</a&gt;

    any ideas??

    thanks.

    P.

  66. hello there! great plugin, but my flash shows up in a tiny window… where can i define or change the windows size? thank you very much!

    cheers, M.

  67. hum, i really tried my best, but i don’t know, where i can change the shown picture size after loading in shadowbox?

    where can i change this?

    thans for your support in advance.
    chEErs.
    mike.

  68. Your plugin is GREAT!!! Thanks! I was wondering if it is possible to have PDF files come up to be viewed in the shadow box rather than open up to be downloaded or saved.
    Thanks in advance for the help.

  69. @Redd

    Yes, just put the url to the pdf document in the line of code, and it will work. Typically this should be able to pull up anything that your browser can pull up, you just have to link to it to start with.

    @Matt
    I love the plugin dude, but I gotta ask, is there any chance we can expect to see some better integration with WP? As it is now, as you know, I have to put the code in each time I want to use it. It would be nice if the code could be given a quicktag, which would further reduce the chance of someone editing in visual with this plugin since quicktags like I want are only good in html mode. So, can you make it work just like the code quicktag does on the html editor? It could put in the opening half of the href, with the rel attribute already set as shadowbox, but the url blank. How bout it?

  70. @mike

    I clicked your link and the page froze, though my browser didn’t (safari on WinXP), just as it did a few minutes before when I clicked the links to the screenshots on this page. I was confused by the source on this page because it has rel=”shadowbox[shadowbox]” set, seems redundant.

    On your site though, I took your link code and put it on my site, and it worked like a charm, a video of some older dude talking. Makes me think you either have the wrong js library selected, or there is just a problem with it. Try changing the $jslib variable to jquery or prototype, though none seems to be working the best for me with quick loads.

    It is a config problem tho because your link worked perfect, I just copied and pasted it. Hope that helps.

  71. @Nicole

    I copied and pasted the code you posted, and it works just fine. The page is a 404 inside your site, but it loads just fine after a few extra seconds of a black screen, probably just load time.

    Try switching the js library between none, prototype, and jquery, see if that helps.

  72. @Bryson, I did what you said but it just gives the prompt to download the PDF it does not open it on the screen. Any tips about this? Thanks!

  73. @Redd: This is due to the way that browsers handle PDFs. The browser itself cannot handle the PDF so you use a plugin such as the Adobe Acrobat Reader to display the PDF. If the browser could handle the PDF natively or if shadowbox came with some sort of PDF “player” to show the PDF in shadowbox then it would work…but unfortunately due to the design of how PDFs are displayed, in its current form, Shadowbox will not display this as you want.

  74. @Matt, Thanks so much for the helpful tips. Right now I have changed the PDF into an image and I am trying to get the image large enough to show clearly on the shadowbox; it seems as though no matter how large I change the image size it doesn’t really change how it shows?

  75. @Erigami: Currently the plugin does not handle this. I am debating whether or not to include this functionality in the Shadowbox JS plugin or to release a more generic plugin to assist in adding any kind of effect to the gallery links. I will keep you updated and will perhaps send you a beta version of the plugin to test.

  76. GREAT WordPress plug-in. Works great with NextGEN-gallery. You have to choose custom under options/effect and then use this code rel=”shadowbox[%GALLERY_NAME%]“.

    I was wondering if this plug-in can view a whole gallery?

    Now it can only display the pics on the page that its on. Example: I have a gallery that is 3pics x 4pics so 12 pics and continues for 3 more pages making the total pics 36. It only lets me view the first 12 pics. I would like to view all 36 pics without going to the next page. Hope you can help.

    Thanks,
    Mike B

    • @Mikeb: Shadowbox works by looking at the DOM and finding all of the links that contain the rel=”shadowbox[gallery_name]” and uses that for its gallery capabilities. If your gallery is paginated and not all links are displayed on one page it has no idea about the other links.

      So in short there is no way to achieve what you are trying without placing all of the links on 1 page.

  77. Pingback: 9/08/08 / Light | Kuch khayaal/some thoughts

  78. Pingback: 熊本ビル管理株式会社(偽) - 画像や動画のサムネイルをポップアップする ShadowBox の紹介

  79. Pingback: enz.info » Regio News » Neues Lightbox-Plugin installiert

  80. Pingback: Worpdress Image Gallery Plugins: Lightview JS « Radical Web Design

  81. Pingback: [下载]WordPress最新插件推荐 2008年10月 | 锐博_资源资讯共享网

  82. Pingback: Dived and Survived » Blog Archive » Bilder funktionieren wieder

  83. Pingback: The Bel Air Theme by WP-Realtor — WP-Premiums

  84. Pingback: Chris Damien Doll | High Volume and Large Aperture

  85. Hi Matt,
    I’m a fan of Shadowbox.js so I really appreciate you writing this plugin for WordPress. I’ve gone through quite a few plugins and this one contains the features that I want/need.

  86. Pingback: WordPress Plugin Releases for 12/24 | Weblog Tools Collection

  87. Pingback: WordPress Plugin Releases for 12/24 | BlogBroker24-7

  88. Pingback: WordPress Plugin Releases for 12/24 | Wordpress Blog NL

  89. Pingback: WordPress Plugin Releases for 12/24 | New Port Me

  90. Pingback: WeblogToolsCollection Español » Archivo del Blog » Novedades Plugins de WordPress 24/12

  91. Pingback: Weblog Tools Collection: WordPress Plugin Releases for 12/24 » KLIK WAE DOT INFO

  92. Pingback: WordPress Plugin Releases for 12/24

  93. Pingback: greybucket.com » Blog Archive » Free WordPress theme: greybucket 2.0

  94. Pingback: » Vijf handige WordPress plugins - TibsBits

  95. Pingback: >>> www.worldofneo.de - neografix // trashig seit 2003 » [Trashfilm] Don't fall DOWN!

  96. Pingback: WordPress Plugin Releases for 01/23 | Weblog Tools Collection

  97. Personally i think that the size of the embedded youtube movies should be change to the new standard size on Youtube, which is 560×543.
    If anyone wishes to change this (so it is standard) it can be done in the file shadowbox-js.php.
    $tube_rel_attr = 'rel=$2shadowbox[post-' . $post->ID . '];width=560;height=345;$7';

    • @Søren: I’ll keep this in mind for my next release. The current size is based on the default configuration of Shadowbox. Perhaps making the video size configurable is a possibility as well.

  98. Pingback: WordPress Plugin Releases for 01/23 | BlogBroker24-7

  99. Pingback: Kick’em 2 the Curb » Thank a Plugin Developer Day…I’m a little late!

  100. Hi everybody,

    fisrt, thanks to matt for this great plugin.
    l am trying to implement the plugin for opening a demo site inside my domain
    for example:
    my domain name ei mydomain.com and l want to show a demo site inside mydomain.com like mydomain.com/demo/newsite
    and nothing happen, just go to the url with out use the plugin.

    thanks in advance,

    Chiico

    is any way to open

  101. Pingback: Sliding Notes 1.4 - Shadowchaser Release | Hackadelic

  102. Thank you so much for this plugin! I have been using shadowbox on a site that was previously static and I am now using this plugin on the WP framework. I like shadowbox the best of all the JS tools for this purpose that I have found. Keep up the good work!

    • This plugin and shadowbox.js uses the JW FLV player. The JW FLV player does not support f4v videos. So until the player supports it the plugin cannot support it.

  103. Hi there! I’m new with your plugin, I’m using it because I’m really tired of wasting my time with manual configurations of shadowbox and so on…I think you did a very great job with this plugin…but…In my weblog I also use the dbx (docking boxes) script, and it gave up working since I’ve installed your plugin. It was ok with my “classic” shadowbox configuration…so, I thought it was my fault, maybe some misconfiguration in my hand-made wp-theme. So I finally decided to try with a very famous and well-made theme: i-theme. The error it’s the same, and dbx (or shadowbox) stop working (the first in the html code stops). Could you please think about it? Thank you for your job anyway! Byez.

    • @-FrA-:
      Try switching the Javascript Library used by Shadbowbox by browsing to Settings->Shadowbox JS, selecting jQuery from the Javascript Library drop down and then clicking Save Changes. Seems to work for me in my tests with the iTheme.

  104. Pingback: Top 60 incredibly useful WordPress plugins to power up your blog

  105. Pingback: A new beginning, a new design | mindplunge

  106. Pingback: WordPress Plugin Releases for 03/18 | Weblog Tools Collection

  107. Pingback: WordPress Plugin Releases for 03/18 | BlogBroker24-7

  108. Pingback: WordPress Plugin Releases for 03/18 | TechnoBlog

  109. Pingback: BlueCow Hosting Blog » Blog Archive » Shadowbox JS Plugin for Ajax Lightbox Goodness - The Blue Cow Community for Wordpress Bloggers

  110. Pingback: WordPress Plugin Releases for 03/18 | boomtchik.com

  111. Pingback: WordPress Plugin Releases for 03/26 | Weblog Tools Collection

  112. Pingback: WordPress Plugin Releases for 03/26 | BlogBroker24-7

  113. hi,

    this plugin is very useful for my website!

    btw, I wanna know how to change the setting
    to make the image be shown bigger than the browser size.

    tks!

    • @Law: You can change how shadowbox handles images that are larger than the display area by clicking the “Show Advanced Configuration” button on the Shadowbox JS options page at Settings->Shadowbox JS in the WordPress Admin. The value you would need to change is “Handle Oversize”. There is a description of the options under that drop down.

  114. Pingback: 10 Image and Gallery Lightbox Solutions for Wordpress - Plugins : Speckyboy Design Magazine

  115. Pingback: 10 Image and Gallery Lightbox Solutions for Wordpress - Plugins | guidesigner.com

  116. Pingback: Lightbox para wordPress | ivanBogar.com | design e wordPress

  117. Pingback: 10 Image and Gallery Lightbox Solutions for Wordpress - Plugins | designersmantra.com

  118. Pingback: WordPress用のShadowbox JSプラグイン « 整頓中(仮)

  119. Pingback: Shadowbox JS LightBox系のjsライブラリ・Shadowboxをwordpressに簡単実装するplugin - atl*weblog

  120. Pingback: WebGratuito » Immagini e lightbox

  121. Pingback: Photo Pingalerie » Mit Shadowbox.js lassen sich nahezu alle Dateien inline anzeigen

  122. Pingback: Colophon | Pixel dot

  123. Pingback: My crazy gallery « nikenhn.moved.in

  124. Love this plug-in, thanks. Question- I am having difficulty with getting my qtime .mov files to play at size. ShadowBox downsizes them into little players. Thoughts?

  125. I’ve got a quick question re: how the plugin displays a .mov file. I’ve got a video that is 720×450. However, when the plugin opens it up (which works perfectly fine), the size is quite small (not the actual video size). However, when I change the Shadowbox skin to none (and the video is opened up in another window), the size is displayed correctly. Am I missing some setting that allows me to set the lightbox to the size of the file?

  126. Pingback: AIADL Wordpress Plugin List

  127. Pingback: Le Repaire du Sanglier des Ardennes » Blog Archive » Extension ShadowBox

  128. Pingback: 12 Wordpress Plugins I Can’t Live Without | Mark B. Marquis

  129. Pingback: 10 Image and Gallery Lightbox Solutions for Wordpress - Plugins | JT's World

  130. Pingback: Cum sa iti faci un blog pe platforma Wordpress. Partea a III-a | Victor Sosea | blog personal

  131. Pingback: IEもういやぁ~~ - Footprints of a cat

  132. Pingback: Forum | www.skilledmagic.com

  133. I updated the plugin to 3.00. After activating, the Shadowbox did not show in my settings area and it stopped working for my whole site. Any pointers on this???

  134. Dude i love this plugin, I’ve been using it for a while…

    I love most of the v3.0 improvements…

    I’m just wondering why you seem to have got rid of the spinning ‘loading’ symbol? – I don’t have the fastest of servers, and some of my images are quite large, so a gallery can take quite a few moments to load after someone has clicked the first image… at least before they saw the spinning symbol and knew to wait… now they just end up looking at an onimous looking black rectangle with no indication that anything is happening

    Was this an oversight, or part of the streamlining of code? – Is there any chance this could be made an option (on or off) in a future update?

    Other than that… Many thanks for all your hard work in bringing this great script to us WordPress users. :)

    • @Adam: The removal of the loading image was not of my doing. While I did make large code modifications to the plugin I do not have any code control over the shadowbox.js code. It would seem that the author or shadowbox.js had made a decision to remove this image.

      Feel free to make a recommendation on the Shadowbox forums at http://www.shadowbox-js.com/ to bring the loading image back. Shadowbox itself is still in 3.0b1 release so there should still be room for changes before it’s final release.

      Version 3.0.0.0 of this plugin added some nice features for WordPress 2.8, and with WordPress 2.8 being released later today I made the decision to release it using the 3.0b1 shadowbox.js release as there are no current bugs with it. I will be updating this plugin as updates to the shadowbox.js code are released.

  135. Pingback: white » Blog Archive

  136. I just installed this plugin in WordPress 2.7.1 and activated it. But like another user mentioned, when I go to “Settings” I do not see an link for “Shadowbox JS”. Any idea why this is not displaying?

    • @Jonathan: And like I told the other user, you are likely using PHP 4. PHP 4 support was dropped in this release in favor of better functionality. Please consider upgrading to PHP 5.

  137. I absolutely love the 2.4 version of shadowbox. The concept theme was brilliant, the loading quick and clean, the control over opacity without having to hack through the php files was wonderful. Ungraded to 3.0.0 and the concept theme was gone, the effect stopped working at all. I’m not sure what the interaction is – likely this is something in the theme, or in the coding of the pages I’ll have to debug at some point. For now I’m staying back at 2.4. Sigh.

    But thanks for an excellent plugin.

    • The skinning capability shadowbox.js was changed in the upstream release of shadowbox.js. Due to these changes the previous skins will no longer function. You may need to, after upgrading to 3.0.0.0, go to the Shadowbox JS settings page and set “Reset to Defaults” to “true” and click save changes.

  138. Pingback: WordPress 2.8 ウィジェットのトラブルとプラグイン対応リスト >> 病的溺愛シンドローム

  139. Pingback: Shadowboxプラグインを入れてみた « Labs.Torques

  140. I honestly find this plugin to be better than any other plugin available so far. I like it even better than next-gen gallery to be honest. So simple to use, and it works automatically.

  141. I love this plugin. Just have a quick question thought that I haven’t been able to find the answer too. I’ve got a video that I’ve encoded in mp4 because I like it better than flv for a variety of reasons. Shadowbox automatically wants to load it in Quicktime although JW FLV Player will play them. Is there anyway to force Shadowbox to open mp4 files in the JW FLV player?

  142. Pingback: Web Super Star » Blog Archive » Ajax Lightbox and Modal Dialog Solutions

  143. Pingback: 【続】WordPress 2.8でのプラグイン動作確認 >> 病的溺愛シンドローム

  144. Matt, thanks for making such an elegant and functional plugin!! One of the top 10 WP plugins imo. Any chance of seeing a ‘full screen’ (not counting youtube player) option in an upcoming update?

  145. Pingback: SpotGeek.net » Ajax lightbox and modal dialog solutions

  146. Pingback: How I got started with WordPress – A Beginer’s Compendium | Hexameta

  147. Pingback: Plugining « welt-held.de

  148. Love the plugin – just wanted to mention a conflict that I had encountered.

    Using the WP-SWFObject plugin v2.3 ( http://blog.unijimpe.net/wp-swfobject/ ) creates a conflict with the Shadowbox.close() call after opening an FLV file in JW Player. Something to do with the way it unloads the SWF content, but I stopped trouble-shooting once I found the cause (and deactivated the WP-SWFObject plugin).

  149. Pingback: MonstroMoi » Blog Archive » ShadowBox

  150. Pingback: Shadowbox JS | Sivel.net | WpMash - WordPress News

  151. Pingback: How to get multi-line titles in Shadowbox.js for Wordpress | SEOSUMO.COM | The Art of Digital Dominance

  152. I have been started to prepaire the Translation for Shadowbox in it’s own directory. So it means that I have added the rule
    load_plugin_textdomain(‘shadowbox-js’, “/wp-content/plugins/shadowbox-js/”); to shadowbox-js.php end added in al the rules where is i have edit it in
    I am still busy with it, but if the translation is finished, can i send it to you for other users, so they can also translate it in their own language in the shadowbox directory? If you like to, i will also make a .pot file

    If your answer is ‘yes’, to where can i send the files?

    With regards
    Anja.

    • I believe you have gone through a lot of unnecessary work. This plugin already has a localization directory with a template/pot file in it. In addition in inc/admin.php there is already load_plugin_textdomain. In the localization directory you will even find a Russian po and mo file. More to this, you should have not left a comment concerning this you should have used the forum as you should have read since you agreed to the comment guidelines.

  153. Pingback: @fotoholiker ShadowBox JS http… « Twitter Archive

  154. Pingback: Top 100 Wordpress Plugins => CezZy.pl

  155. Pingback: 35 Stylish And Modern Wordpress Plugins Using jQuery UI | Graphic and Web Design Blog - Inspiration, Resources and Tools

  156. Pingback: 35 Stylish And Modern Wordpress Plugins Using jQuery UI | WEBDESIGN FAN

  157. Pingback: tmtbox media | 35 Stylish And Modern Wordpress Plugins Using jQuery UI

  158. Pingback: 35 Stylish And Modern Wordpress Plugins Using jQuery UI | pc-aras

  159. Pingback: CMS | gestores de contenido » Ejemplo de plugin

  160. Pingback: 35 Stylish And Modern Wordpress Plugins Using jQuery UI - Programming Blog

  161. Pingback: 40+ Quite Useful Wordpress Plugins using jQuery | tripwire magazine

  162. Pingback: WordPress Plugins – Shadowbox JS - Jeff Blogs

  163. Pingback: 40+ Quite Useful Wordpress Plugins using jQuery | Programming Blog

  164. What if I, intentionally, do NOT want a specific image to open in the Shadowbox? For instance, if I want to use that image for navigation?

  165. I love the latest version ( 3.0.0.2 ). Works perfect!!
    Had some problems before within IE, not loading plugin on first page, only working on single posts, but now IT’S WORKING GREAT! Thanks!

  166. How do you get the shadowbox to work with images that you have “hardcoded” into the wordpress loop? For some reason none of my images will open in a shadowbox they just go to the image link on a new page. I didn’t know if there was something I needed to be doing on my wordpress template page to make the shadowbox work.

    Thanks,

  167. Howdy,

    This plugin I just install is great. It gives may blog an new look that I was looking for. It took me some time to get the setting right, but I must say it’s an awesome software.

    Antonio Coleman ‘TrafficColeman” Signing Off

  168. Hi Matt,

    your shadowbox plugin works great, but I have to use 3.0.0.1, because after I update to 3.0.0.2 or 3.0.0.3, the wordpress blog stops working in Internet Explorer 6. It simply won’t load the main page. Don’t you have an idea, why or how to solve it?

    Thanks a lot!

    • @Norguad: I believe this is due to 3.0.0.2 and 3.0.0.3 using shadowbox.js rc1. Version 3.0.2 will contain shadowbox.js 3.0.2 which has a number of fixes in it. There should be an update within the next several weeks.

  169. This is a great light box but I have a problem.
    I have a question about video integration how do I have shadowbox just rely on the size of the video (quicktime or FLV) instead of using the default size. I’ve have it used on an image on my main page but it wont size it to the size of the video or the default size. Is this because it’s not in a post, and I had to use rel=”shadowbox” or because of something else. I’ve messed with the settings but no luck. It also does this in the post but I got it to take the default settings.

    Thanks

    • @Greg: There is no way for javascript to determine the size of a video, and unreliable ways to do it with PHP. Because of this you must manually specify the height and width of a movie. From the shadowbox.js authors website:

      You must explicitly tell Shadowbox the dimensions to use to display content other than images. This is done by adding a few parameters to the end of the rel attribute, separated by semi-colons. To specify a movie’s height and width (in pixels), use the height and width parameters.

      Here as an example of such code:

      <a href="mymovie.swf" rel="nofollow">My Movie</a>

  170. wow, man, great plugin! THANKS

    Quick question: is there a way to prevent a .swf from looping with the shadowbox plugin? I need a player for that right?

  171. Is it possible to make this plugin work for ALL links, or with a class instead of rel=”shadowbox”? I am working with a very un-tech-savvy client but want to use this plugin for links without them having to go into the HTML.

  172. This is beyond fantastic. I used Shadowbox before I ever started developing CMS sites and now this makes it so easy to carry over the effect for the client’s sake. I have one question though…

    I have the plugin set to work on all WP–uploaded images but is there any way to have the “handleOversize” value set to “drag” for one specific page template? I wasn’t sure if there was a conditional statement I could put in the header to make this work. I currently have “handleOversize” set to “resize” for all the other pages’ images.

    http://ricodelargo.markmadedesign.com/bio/

    Thanks!

Leave a Reply

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

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre>