@Override
  public boolean isImage(@NotNull VirtualFile file) {
    return FileTypeRegistry.getInstance().isFileOfType(file, ImageFileType.INSTANCE) || file.getFileType() instanceof SvgFileType;
  }
@Override
  public boolean isImage(@NotNull VirtualFile file)