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
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ class FlashFileHandler extends Extension {
|
|||
if(is_a($event, 'ThumbnailGenerationEvent') && $event->type == "swf") {
|
||||
$hash = $event->hash;
|
||||
$ha = substr($hash, 0, 2);
|
||||
// FIXME: scale image, as not all boards use 192x192
|
||||
copy("ext/handle_flash/thumb.jpg", "thumbs/$ha/$hash");
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue