| 
					
				 | 
			
			
				@@ -2725,11 +2725,11 @@ blockquote{border-left:2px solid black;} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if(isset($_GET['image_list'])&&$_GET['image_list']!=""){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $this->ReadImages(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                $gallery = $_GET['image_list']; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                foreach($this->Images as $im){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if($gallery=='main'){ echo "[".$im['name'].",".(isset($im['thumb'])?$im['thumb']:$im['name'])."]"; continue; } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                $gallery = $_GET['image_list']; $count=0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                foreach($this->Images as $im){ if($count>25){ break; } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if($gallery=='main'){ echo "[".$im['name'].",".(isset($im['thumb'])?$im['thumb']:$im['name'])."]"; $count++; continue; } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if(isset($im['galleries']) && isset($im['galleries'][0]) && in_array($gallery,$im['galleries'])) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        echo "[".$im['name'].",".(isset($im['thumb'])?$im['thumb']:$im['name'])."]"; } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        echo "[".$im['name'].",".(isset($im['thumb'])?$im['thumb']:$im['name'])."]"; $count++; } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 exit; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 |