diff contrib/python/generateHTML.py @ 217:13f1cf17f620

[mq]: arcpy_image
author Stephan Holl <stephan.holl@intevation.de>
date Mon, 25 Jul 2011 11:01:53 +0200
parents d0acdab62b03
children a44d442577ca
line wrap: on
line diff
--- a/contrib/python/generateHTML.py	Mon Jul 25 10:51:39 2011 +0200
+++ b/contrib/python/generateHTML.py	Mon Jul 25 11:01:53 2011 +0200
@@ -43,10 +43,12 @@
 
 def writeLayers(mapfile, layers, extent):
     basename = os.path.basename(mapfile)
+    png = mapfile.replace(".map", "_arcpy.png")
     print '''<li>Layer:  <strong>%s</strong></li>
 <br>
+<a target="bild" href="%s"><img witdth="80" height="60" border="" src="%s"></a>
 Anzahl der Layer: %s
-''' % (basename, len(layers))
+''' % (basename, png, png, len(layers))
     i = 0
     print "<ul>"
     while i < len(layers):
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)