Remote Image Gallery
Click thumbnails to launch gallery. Loading spinner & captions are built-in.
A gallery can also be opened from a single element using an array of images.
Specify a remote source, or pass in an element alone in to enlarge its current image.
Script grabs the background image automatically.
By default, the user will receive an alert (this behavior can be overriden).
If the vimeo / youtube URL is incorrect, the embed is shown with the error.