diff --git a/index.js b/index.js index 70b6a51..4181733 100644 --- a/index.js +++ b/index.js @@ -219,7 +219,7 @@ plugin.uploadImage = function (data, callback) { } var type = image.url ? "url" : "file"; - var allowedMimeTypes = ['image/png', 'image/jpeg', 'image/gif']; + var allowedMimeTypes = ['image/png', 'image/jpeg', 'image/gif', 'image/pjpeg', 'image/jpg', 'image/svg+xml']; if (type === "file") { if (!image.path) {