forked from Cavemanon/cavepaintings
merged image zoom
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user