
   
    // initialize flickr plugin
    var api_key = 'ad6a40866c26b6131060595d24a9bd18'; // get your API key at Flickr
    var flickr = new Galleria.Flickr(api_key);
    
    // inject a user's photostrem photset into galleria
    flickr.getSet('72157625170977261', { 
    size: 'big',

        description: true // set this to true to fetch flickr descriptions
    }, function(data) {
        jQuery('#galleria').galleria({
            data_source: data, // add the flickr data
            show_imagenav: true, // remove the prev/next arrows
			show_caption: true,
            extend: function() {
				this.bind(Galleria.IMAGE, function(e) {
				var data = this.getData(e.index);
					jQuery('#info').html('<h3>'+data.title+'</h3><p>'+data.description+'</p>');
			    	});
				
			}
        });
    });


    
    // Initialize Galleria
    jQuery('#galleria').galleria();
    
