initialer import von douth-hiphop.de's Entwicklungsstand
This commit is contained in:
		
						commit
						9805cf14de
					
				
					 54 changed files with 1237 additions and 0 deletions
				
			
		
							
								
								
									
										15
									
								
								funktionen/thumbnail.php
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								funktionen/thumbnail.php
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,15 @@ | |||
| <? | ||||
| $thumbsizes = array(); | ||||
| $thumbwidthsum = 2; | ||||
| $thumbheight = 67; | ||||
| foreach ($allfiles as $filename) { | ||||
|   $directory = dirname($filename); | ||||
|   $basename = basename($filename); | ||||
|   $thumbfile = $directory . | ||||
|     DIRECTORY_SEPARATOR . $basename; | ||||
|   if ($thumbsize = getimagesize($thumbfile)) { | ||||
|     $thumbsizes[$thumbfile] = $thumbsize; | ||||
|     $thumbwidthsum = $thumbwidthsum + $thumbsize[0] + 3; | ||||
|   } | ||||
| } | ||||
| ?>
 | ||||
		Reference in a new issue