Skip to content

Node.js based forum software built for the modern web

fix: #7582

Baris Usaklic9ca72d0f3c9
diff --git a/src/image.js b/src/image.js
index b1c703ef5b..af61621c23 100644
--- a/src/image.js
+++ b/src/image.js
@@ -92,6 +92,9 @@ image.size = function (path, callback) {
};
image.stripEXIF = function (path, callback) {
+ if (path.endsWith('.gif')) {
+ return setImmediate(callback);
+ }
async.waterfall([
function (next) {
fs.readFile(path, next);