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:
shish 2007-12-06 03:21:30 +00:00
parent 02830d58b8
commit 3662b38db4

View file

@ -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");
}