merged image zoom

This commit is contained in:
seinoxygen
2010-08-06 20:24:31 -03:00
committed by Shish
parent 0d73aa7692
commit 115d992ff0
6 changed files with 46 additions and 79 deletions

View File

@@ -6,6 +6,12 @@
*/
class PixelFileHandler extends DataHandlerExtension {
public function setup() {
$sb = new SetupBlock("Image Zoom");
$sb->add_bool_option("image_zoom", "Zoom by default: ");
return $sb;
}
protected function supported_ext($ext) {
$exts = array("jpg", "jpeg", "gif", "png");
return in_array(strtolower($ext), $exts);