I found the answer, embed the variable in braces{}
<img src="weather/moon/{$almanac.moonphase}.jpg"/>
It is more of an HTML solution than anything else.
Den
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/E_PBXItrogc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/6098a4c6-e8db-4636-89c5-11fc2de9833en%40googlegroups.com.
Of course I'd screw up the answer....
this works....(not real sure why but it does.)
<img src="weather/moon/${almanac.moonphase}.jpg"/>
results in:
<img src="weather/moon/Waning gibbous.jpg"/>
Den
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e8af3ef9-cb4c-4f11-9e0e-be6dba3ad4ce%40yahoo.com.