I think the problem is the overloading of the "dot." You're using it in two contexts: as a separator for Cheetah, and as the suffix for a file name.
Try escaping the dot. Something like $latest.windDir.ordinal_compass\.png and see if that helps. -tk On Mon, Sep 3, 2018 at 10:38 AM Linda Eriksson <[email protected]> wrote: > I'm trying to make a sorta minimalistic skin for a tablet that will be > mounted on the wall. As it's an old 7", and I want as much relevant info as > possible at a glance, without it being cramped up, whilst still legible for > my parents without glasses, I'm trying to save space wherever it seems > reasonable. > Currently, I have gotten stuck on an issue related to my inexperience with > real coding. > I'm trying to use an image of an arrow for wind direction (well, 16 images > to be honest), thinking that if '$latest.windDir.ordinal_compass' > translates into say NNO, then I'll simply do <img > src="$latest.windDir.ordinal_compass.png"> and it will turn that into <img > src="NNO.png">. > > It made perfect sense.. to me at least... but not to mr Cheetah Engine.... > It simply ignores my attempt to be smart, and spits out that there is no > such image as $latest.windDir.ordinal_compass.png > > Obviously I made something wrong, so basically, where did I do wrong? > Should it be doable and I simply have done it wrong, or am I going at it > totally wrong and need to do it in a completely different way? > > > -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
