Explorar o código

Add support for other common web formats

Steven Silvester %!s(int64=9) %!d(string=hai) anos
pai
achega
e7a9eaf828
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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']
   }
 
   /**