mirror of
https://github.com/tenox7/wrp.git
synced 2026-04-27 01:19:31 +00:00
do not display image properties when there is no image
This commit is contained in:
1 parent
abea41f498
commit
2733a84d2d
1 file changed
+4
-2
@@ -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>
|
||||
Reference in new issue
Block a user