Examples
Generated Gallery
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({
/* how it should be activated, alternative would be 'hover' */
activation: 'click',
content: {
source: 'a',
selector: 'gmbz'
}
});
}
</script>
append to body (between your <body> tags):
<!-- ****** adding content ****** -->
<a href="data/album_simple/field.jpg" rel="" title="" class="gmbz">
<img src="data/album_simple/_meta/thumb_field.png"/>
</a>
<a href="data/album_simple/mountains.jpg" rel="" title="Mountains, Shadow" class="gmbz">
<img src="data/album_simple/_meta/thumb_mountains.png"/>
</a>
<a href="data/album_simple/sea.jpg" rel="" title="Sea, Bali" class="gmbz">
<img src="data/album_simple/_meta/thumb_sea.png"/>
</a>
<a href="data/album_simple/wave.jpg" rel="" title="Wave, Bali" class="gmbz">
<img src="data/album_simple/_meta/thumb_wave.png"/>
</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>