Fix #825 properly

This commit is contained in:
Paddy Xu
2021-03-07 19:02:08 +01:00
parent 9f426326ba
commit a91261435a
9 changed files with 47 additions and 17 deletions

View File

@@ -86,7 +86,7 @@ namespace QuickLook.Plugin.ImageViewer
? $"{Path.GetFileName(path)}"
: $"{size.Width}×{size.Height}: {Path.GetFileName(path)}";
_ip.ImageUriSource = new Uri(path);
_ip.ImageUriSource = Helper.FilePathToFileUrl(path);
}
public void Cleanup()