English | Español | Deutsch | Francais



Ejemplos

Generated Gallery


Download


Code

anexar a la cabeza (entre sus <head> etiquetas):
		
		<!-- ****** 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({
			
				icon_imgchooser: true,
				icon_albumchooser: true,
				
				
				content: { 
					nested: false,
					source: 'a',
					selector: 'gmbz',
				}
											
			});
		};
</script>

anexar a cuerpo (entre sus <body> ):
		 <!-- ****** adding content ****** -->
		 
		 	
		<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="Album" title="Sea, Bali" class="gmbz"></a>
		<a href="data/album_simple/wave.jpg" rel="Album" title="Wave, Bali" class="gmbz"></a>
		
		
	
		<div id="gallery">
			<a href="javascript:;" onclick="gambarize_instance.openimage({img: 0, album: ''});">open first image</a><br/>
			<a href="javascript:;" onclick="gambarize_instance.openimage({img: 1, album: ''});">open second picture</a><br/>
			<a href="javascript:;" onclick="gambarize_instance.openimage({img: 2, album: ''});">open non existing picture</a><br/>
			
			<a href="javascript:;" onclick="gambarize_instance.openimage({img: 'data/album_simple/mountains.jpg', album: ''});">open mountain picture</a><br/>
			
			<br/>
			<br/>
			<a href="javascript:;" onclick="gambarize_instance.openimage({img: 0, album: 'Album'});">open first picture of "Album"</a><br/>
			<a href="javascript:;" onclick="gambarize_instance.openimage({img: 'data/album_simple/mountains.jpg', album: 'Album'});">try to open picture from other album</a><br/>
			<a href="javascript:;" onclick="gambarize_instance.openimage({img: 'data/album_simple/wave.jpg', album: 'Album'});">open picture in "Album" by name</a><br/>
			
		</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>