From fbe0df29ed0689174fcc5f70dc1d694c305f901e Mon Sep 17 00:00:00 2001 From: Daku Date: Fri, 16 Dec 2011 21:35:30 +0000 Subject: [PATCH] Fixed scaling with the theme patch. --- contrib/handle_flash/main.php | 1 - contrib/handle_mp3/main.php | 1 - contrib/handle_svg/main.php | 1 - 3 files changed, 3 deletions(-) diff --git a/contrib/handle_flash/main.php b/contrib/handle_flash/main.php index f63f988d..8ee32fc0 100644 --- a/contrib/handle_flash/main.php +++ b/contrib/handle_flash/main.php @@ -7,7 +7,6 @@ class FlashFileHandler extends DataHandlerExtension { protected function create_thumb($hash) { - // FIXME: scale image, as not all boards use 192x192 copy("ext/handle_flash/thumb.jpg", warehouse_path("thumbs", $hash)); } diff --git a/contrib/handle_mp3/main.php b/contrib/handle_mp3/main.php index ba02b3c5..76187638 100644 --- a/contrib/handle_mp3/main.php +++ b/contrib/handle_mp3/main.php @@ -7,7 +7,6 @@ class MP3FileHandler extends DataHandlerExtension { protected function create_thumb($hash) { - // FIXME: scale image, as not all boards use 192x192 copy("ext/handle_mp3/thumb.jpg", warehouse_path("thumbs", $hash)); } diff --git a/contrib/handle_svg/main.php b/contrib/handle_svg/main.php index e9e94c25..f028e178 100644 --- a/contrib/handle_svg/main.php +++ b/contrib/handle_svg/main.php @@ -40,7 +40,6 @@ class SVGFileHandler implements Extension { // exec("convert images/{$ha}/{$hash}[0] -geometry {$w}x{$h} -quality {$q} jpg:thumbs/{$ha}/{$hash}"); // } // else { - // FIXME: scale image, as not all boards use 192x192 copy("ext/handle_svg/thumb.jpg", warehouse_path("thumbs", $hash)); // } }