Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Javascript image slideshow gallery, adapted from GalleryView 3.0 DEV version by Jack Anderson
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Don't use this!

It looks like Jack may have fixed the bugs originally created this fork to fix. Go here for a more up-to-date version:

GalleryView - jQuery Photo Gallery Plugin

Original Author: Jack Anderson

Hacked Version Author: Kevin McCarthy

I have taken Jack Anderson's awesome GalleryView script, removed a couple features I didn't need, and hacked it so it works a bit better in IE7/8/9.

The original version can be found at


  1. Place galleryview-x.x folder somewhere in your website directory structure (you can rename this folder if desired)
  2. Include script tags for the desired version of the script (uncompressed, packed) and for the included jQuery Times plugin file
  3. Include a reference to the jquery.galleryview-x.x.css stylesheet in your document
  4. Create an unordered list in your HTML with the content you wish to be displayed in your gallery (see below for more information on markup options
  5. Edit the id of the first rule in jquery.galleryview-3.0.css to match the id given to your unordered list
  6. Call the GalleryView plugin with the function call below:

To override default option values, include them in object literal format in the call to the plugin, like so:

        panel_width: 800,
        panel_height: 600,
        frame_width: 120,
        frame_height: 90

Refer to the documentation URL listed above (or the uncompressed javascript) to see a full list of options, their effects on the plugin and their default values.

HTML Markup Requirements

Below, I will show you the markup required to produce various types of galleries. After the first example, I will exclude the UL wrapper and only show the HTML necessary for a single panel and/or frame.

Basic slideshow (no added features)

    <ul id="gallery">
        <li><img src="../gv/path/to/image1.jpg" alt="image1" /></li>
        <li><img src="../gv/path/to/image2.jpg" alt="image2" /></li>
        <li><img src="../gv/path/to/image3.jpg" alt="image3" /></li>
        <li><img src="../gv/path/to/image4.jpg" alt="image4" /></li>

This is the simplest gallery one can have. By default, the filmstrip will appear below the panels. The number of frames visible will be determined by the size of the panels. If there is enough space in the gallery to fit all the filmstrip frames, the filmstrip will be centered within the gallery. If there are too many frames, the additional frames will be hidden from view initially, appearing as the filmstrip slides to the left with each transition. Panel and frame dimensions are set via plugin options, as is the location of the filmstrip. It can be set to appear below, above, or to either side of the panels.

Creating Custom Themes

GalleryView comes with four themes by default:

  • dark
  • light
  • dark2
  • light2

The dark themes contain dark navigation buttons and are best used in galleries with light backgrounds. The light themes contain light colored images and are best for galleries with dark backgrounds. The dark2 and light2 themes contain oversized buttons to demonstrate GalleryView's ability to use any kind of navigation images you may want to use

To create your own navigation theme, first create the following images:

  • next.png
  • prev.png
  • panel-nav-next.png
  • panel-nav-prev.png

The images can be of any file type. Then, update the galleryView CSS file with the paths to your new navigation images.

That should hopefully be enough to get you started on the right track. Feel free to experiment and find me on twitter (@jackwanders) if you have any questions or comments. Enjoy!

Differences from Trunk

  • Images scale properly in IE
  • Removed Panning photo with mouse cursor
  • Removed Info bar
  • Removed a couple mouse hover functions, not sure what their function is
  • Removed dependency on jquery-easing, hardcoded all easing to swing (built-in to jquery)
Something went wrong with that request. Please try again.