title: ExtentReports - screenshot not in the report - broken image
body: <p>I'm trying to add a screenshot to my ExtentReport HTML file, but for some reason, the image is not there even though it DOES exist and the console shows that it's looking at the correct place (href is correct).</p>
  
  <p>This is the latest trial code:</p>
  
  <pre><code>Screenshot screenshot = new AShot().shootingStrategy(ShootingStrategies.viewportPasting(1000)).takeScreenshot(driver);
  String destination = getScreenshotPath();
  ImageIO.write(screenshot.getImage(), "IMG", new File(destination));
  test.fail("Details: " + test.addScreenCaptureFromPath(destination));
  </code></pre>
  
  <p>The screenshot gets saved in the destination.
  When I try the debugging mode, or look at the report, it's printed as:</p>
  
  <p>Details: com.aventstack.extentreports.ExtentTest@62041567
  and there's a broken image under it:</p>
  
  <p><a href="https://i.stack.imgur.com/vgMCK.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/vgMCK.jpg" alt="enter image description here"></a></p>