feat: add lazy loading to screenshot images in HTML summary (#2004)

Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
This commit is contained in:
ali
2024-11-22 22:21:52 +00:00
committed by GitHub
parent e867be5588
commit 0ac0374981
+1 -1
View File
@@ -120,7 +120,7 @@
</td>
<td style="padding: 10px; border: 1px solid black">
<a href="{{.ScreenshotPathRel | safeURL}}">
<img src="{{.ScreenshotPathRel | safeURL}}" alt="Screenshot" style="width: 400px; height: 300px" />
<img src="{{.ScreenshotPathRel | safeURL}}" alt="Screenshot" style="width: 400px; height: 300px" loading="lazy" />
</a>
</td>
</tr>