image printing fix
This commit is contained in:
@@ -566,6 +566,8 @@ public class HtmlPrinter : IEpsonPrinter
|
||||
|
||||
// Get relative path for HTML
|
||||
var htmlDir = Path.GetDirectoryName(_outputPath) ?? ".";
|
||||
if(htmlDir=="")
|
||||
htmlDir=".";
|
||||
var relativeImagePath = Path.GetRelativePath(htmlDir, imagePath).Replace('\\', '/');
|
||||
|
||||
// Add to HTML content
|
||||
|
||||
Reference in New Issue
Block a user