diff --git a/Services/ImageResizer.cs b/Services/ImageResizer.cs index 8e09424..c9aeafa 100644 --- a/Services/ImageResizer.cs +++ b/Services/ImageResizer.cs @@ -8,7 +8,7 @@ namespace MyDarling.Services { using var input = File.OpenRead(inputPath); using var inputStream = new SKManagedStream(input); - var outputPath = Path.GetDirectoryName(inputPath) + "\\" + + var outputPath = Path.GetDirectoryName(inputPath) + "/" + Path.GetFileNameWithoutExtension(inputPath) + "_thumb.jpg"; WriteResized(inputStream, 600, outputPath); }