do not display image properties when there is no image

This commit is contained in:
Antoni Sawicki 2024-06-22 15:33:27 -07:00
parent abea41f498
commit 2733a84d2d

View File

@ -60,8 +60,10 @@
<FONT SIZE="-2">
<A HREF="/?url=https://github.com/tenox7/wrp/&w={{.Width}}&h={{.Height}}&s={{printf "%.1f" .Zoom}}&c={{.NColors}}&t={{.ImgType}}">Web Rendering Proxy {{.Version}}</A> |
<A HREF="/shutdown/">Shutdown WRP</A> |
{{ if ne .ImgType "txt" }}
<A HREF="/">Page Height: {{.PageHeight}}</A> |
<A HREF="/">Img Size: {{.ImgSize}}</A>
</FONT>
{{end}}
</FONT>
</BODY>
</HTML>
</HTML>