I have named moon phase .jpg images in the folder weather/moon that match 
the $almanac.moonphase names.
I am trying to display the image based on the $ variable. Here is the html 
in the tmpl file:
<img src="weather/moon/ $almanac.moonphase.jpg">

I have tried all kinds of spaces, quotes, single quotes ... without getting 
the image to display. 
For example:
<img src="weather/moon/" $almanac.moonphase".jpg">

If I enter the line without the $ variable it works:
<img src="weather/moon/Waning gibbous.jpg"> 

Thanks for reading this and hopefully filling me in with the answer.
Den

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6098a4c6-e8db-4636-89c5-11fc2de9833en%40googlegroups.com.

Reply via email to