Skip to content

Instantly share code, notes, and snippets.

@stevenwanderski
Created June 11, 2013 13:29
Show Gist options
  • Save stevenwanderski/5756825 to your computer and use it in GitHub Desktop.
Save stevenwanderski/5756825 to your computer and use it in GitHub Desktop.
bxGalleryPlugin options
maxwidth: '', // if set, the main image will be no wider than specified value (in pixels)
maxheight: '', // if set, the main image will be no taller than specified value (in pixels)
thumbwidth: 200, // thumbnail width (in pixels)
thumbcrop: false, // if true, thumbnails will be a perfect square and some of the image will be cropped
croppercent: .35, // if thumbcrop: true, the thumbnail will be scaled to this
// percentage, then cropped to a square
thumbplacement: 'bottom', // placement of thumbnails (top, bottom, left, right)
thumbcontainer: '', // width of the thumbnail container div (in pixels)
opacity: .7, // opacity level of thumbnails
load_text: '', // if set, text will display while images are loading
load_image: 'http://i302.photobucket.com/albums/nn92/wandoledzep/spinner.gif',
// image to display while images are loading
wrapperclass: 'outer' // classname for outer wrapping div
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment