English | Español | Deutsch | Francais



Beispiele

Generated Gallery


Download


Code

append to head (between your <head> tags):
		
		<!-- ****** append stylesheet of gambarize ****** -->
		<link rel="stylesheet" href="http://gambarize.klickagent.ch/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({
				
				
				content: { 
					source: 'a',
					selector: 'gmbz',
					loadInDiv: 'gallery',
					nested: false
				}
											
			});
		}
</script>

append to body (between your <body> tags):
		 <!-- ****** adding content ****** -->
		 
		 	
		
		
		<!-- /* This Album adds its content on click on the album */ !-->
		<div data-type="album" data-album-id="emptyalbum" data-title="Is this an empty Album? (load on enter)" class="gmbz" data-album-msg="Not anymore, Pictures added through ajax call" data-content-url="documentation/%CDN_VERSION%/examples/addons/static_imagelinks.php" data-parse-nested="false" data-content-class="gmbz"></div>
		
		<div data-type="album" data-album-id="emptyalbum2" data-title="Is this an empty Album? (Load on hover)" class="gmbz" data-album-msg="Not anymore, Pictures added through ajax call" data-content-url="documentation/%CDN_VERSION%/examples/addons/static_imagelinks.php" data-parse-nested="false" data-content-load="hover" data-content-class="gmbz"></div>
		
		<div data-type="album" data-album-id="emptyalbum3" data-title="This is a true empty album" class="gmbz" data-content-url="documentation/%CDN_VERSION%/examples/addons/static_imagelinks.php" data-parse-nested="false" data-content-class="gmbz2"></div>
		
		<div id="gallery">
			loading gallery...
		</div>
	    
	 	    
	    
		<!-- ****** 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="http://gambarize.klickagent.ch/cdn/0.3/js/gambarize.js" type="text/javascript"></script>