Prechádzať zdrojové kódy

Add support for other common web formats

Steven Silvester 9 rokov pred
rodič
commit
e7a9eaf828
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      src/imagehandler/plugin.ts

+ 2 - 1
src/imagehandler/plugin.ts

@@ -49,7 +49,8 @@ class ImageHandler extends AbstractFileHandler {
    * Get the list of file extensions explicitly supported by the handler.
    */
   get fileExtensions(): string[] {
-    return ['.png', '.gif', '.jpeg', '.jpg', '.svg', '.bmp']
+    return ['.png', '.gif', '.jpeg', '.jpg', '.svg', '.bmp', '.ico', '.xbm',
+            '.tiff', '.tif']
   }
 
   /**