Remove the spaces from your filenames. This is unix, not windows. (yes - spaces 'can' be done but why add the compexity of making that work)
I suspect your logs are barking all over the place about it if you look. On Monday, June 24, 2024 at 2:25:12 PM UTC-7 Den wrote: > 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/2f709f55-8193-470d-a464-ff0014ba7b98n%40googlegroups.com.
