Thumbnail Galleries

Creating video galleries is how TubePress made a name for itself. The software lets you easily embed galleries throughout your site, and gives you complete control over the entire process. You can see a live version of a thumbnail gallery at the demo section on tubepress.org.

The process to create a video gallery is always the same…

  1. Choose which videos you want to display. You can find a list of the sources that TubePress can pull from on the features page.
  2. Find the TubePress shortcode that will display those videos.
  3. Invoke TubePress somewhere on your site to display the gallery.

Of course you may then want to experiment with your own TubePress theme, or add to your shortcode to tweak the dozens of options that affect how your gallery looks and behaves.

The rest of this page discusses some special types of thumbnail galleries

Sidebar/Widget Galleries

All versions of TubePress come with the ability to integrate a vertical gallery of videos in the sidebar of your site. You can fully customize the content and appearance of this sidebar as you would a regular TubePress gallery. To the left is a sample of what the sidebar gallery can look like.

WordPress Widget Gallery

Please see the WordPress widget documentation for general info on how to enable and disable widgets. The image to the left shows what the TubePress widget control looks like at WP Admin > Appearance > Widgets

In the "Title" section of the widget control, enter the text you'd like for the sidebar's header. To customize which videos show up in your sidebar, just use a TubePress shortcode. Please note that by default, the TubePress widget will use the following shortcode:

Of course, like any TubePress shortcode, you can override any setting you like.

Galleries from Multiple Sources

With TubePress Pro, you can create a single, unified gallery from as many sources as you'd like. For instance, to create a single gallery containing videos from all of

  • the YouTube playlist with ID F5D324185EE73FEC
  • uploads from YouTube user bbc
  • uploads from YouTube user funnyordie
  • YouTube search for the exact term "spirit of truth"

you would use the following shortcode

The videos from all 4 sources will be collected and seamlessly assembled into a single TubePress gallery. You can combine any number of gallery sources with any number of parameters to each source simply by using the + character as shown above.

Please keep in mind the following "gotchas"

  1. The resultsPerPage option will apply to each source, so expect each gallery page to contain up to resultsPerPage x <number of sources> videos per page. In the example above, assuming resultsPerPage was set to 10, there would be 40 videos per page (10 videos per page x 4 sources).
  2. It is strongly recommended to enable the TubePress request cache, as TubePress has to perform one network operation for each video source
  3. As the user paginates through the gallery, some of the sources will drop off quietly. For instance, if one video source has 1,000 videos and another has 10 videos, the second page of the gallery won't contain any of the latter source's videos. This isn't a problem per se, just something to be aware of.
usage/thumbnail-galleries.txt · Last modified: 2011/07/31 15:02 by Eric Hough
GNU Free Documentation License 1.3