summaryrefslogtreecommitdiffstats
path: root/app/class/image.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/image.php')
-rw-r--r--app/class/image.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/class/image.php b/app/class/image.php
index 6b73cae..f4c639f 100644
--- a/app/class/image.php
+++ b/app/class/image.php
@@ -23,10 +23,12 @@
$_IMG_OPEN_FUNCS['image/jpeg'] = "imagecreatefromjpeg";
$_IMG_OPEN_FUNCS['image/jpg'] = "imagecreatefromjpeg";
$_IMG_OPEN_FUNCS['image/png'] = "imagecreatefrompng";
+$_IMG_OPEN_FUNCS['image/gif'] = "imagecreatefromgif";
$_IMG_WRITE_FUNCS['image/jpeg'] = "imagejpeg";
$_IMG_WRITE_FUNCS['image/jpg'] = "imagejpeg";
$_IMG_WRITE_FUNCS['image/png'] = "imagepng";
+$_IMG_WRITE_FUNCS['image/gif'] = "imagegif";
/*
* Open the given image and crop it, such that the result is a square