note that this isn't The Right Way yet
git-svn-id: file:///home/shish/svn/shimmie2/trunk@626 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
		
							parent
							
								
									02830d58b8
								
							
						
					
					
						commit
						3662b38db4
					
				| @ -30,6 +30,7 @@ class FlashFileHandler extends Extension { | |||||||
| 		if(is_a($event, 'ThumbnailGenerationEvent') && $event->type == "swf") { | 		if(is_a($event, 'ThumbnailGenerationEvent') && $event->type == "swf") { | ||||||
| 			$hash = $event->hash; | 			$hash = $event->hash; | ||||||
| 			$ha = substr($hash, 0, 2); | 			$ha = substr($hash, 0, 2); | ||||||
|  | 			// FIXME: scale image, as not all boards use 192x192
 | ||||||
| 			copy("ext/handle_flash/thumb.jpg", "thumbs/$ha/$hash"); | 			copy("ext/handle_flash/thumb.jpg", "thumbs/$ha/$hash"); | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user