Examples
Generated Gallery
open gallery again
Download
Code
append to head (between your <head> tags):
<!-- ****** append stylesheet of gambarize ****** -->
<link rel="stylesheet" href="https://projects.klickagent.ch:443/gambarize/cdn/0.3/style/gambarize.css.php?noreset=1" type="text/css" media="all" />
<!-- ****** init gambarize scripts ****** -->
<script type="text/javascript">
<!-- fuckin IE 8 bugfix -->
window.gambarize_instance='';
window.onload = function(){
gambarize_instance = new gambarize();
gambarize_instance.init({
onloadMODE: 'c',
fallbackMODE: false,
icon_albumchooser: true,
icon_imgchooser: true,
hideGalleryOnCloseKlick: true,
content: {
source: 'a',
selector: 'gmbz'
}
});
};
</script>
append to body (between your <body> tags):
<!-- ****** adding content ****** -->
<a href="javascript:;" onclick="gambarize_instance.openGallery();">open gallery again</a>
<a href="data/album_simple/field.jpg" rel="" title="" class="gmbz"></a>
<a href="data/album_simple/mountains.jpg" rel="" title="Mountains, Shadows, Yes this was an amazing landscape!" class="gmbz"></a>
<a href="data/album_simple/sea.jpg" rel="" title="Sea, Bali" class="gmbz"></a>
<a href="data/album_simple/wave.jpg" rel="" title="Wave, Bali" class="gmbz"></a>
<!-- ****** adding gambarize scripts ***** -->
<!-- add jquery, if not already loaded somewhere else on your website: -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
<!-- add the cdn/0.3 of gambarize plugin -->
<script src="https://projects.klickagent.ch:443/gambarize/cdn/0.3/js/gambarize.js" type="text/javascript"></script>