on Belchertown in dark mode I want to keep te windy radar imagei in light mode

20 views
Skip to first unread message

Jim McHale

unread,
Aug 19, 2025, 8:29:25 AMAug 19
to weewx-development
I'm using belchertown on a wall display and find the dark mode to be more readable.
I want to keep the windy radar image in light mode, since in dark mode its changed from an iframe to an img. 
I've not yet found a found a way to change the code to keep it from being changed.
Any pointers would be appreciated.. AI hasnt helped so far...


This is in light mode:
<div class="radar_image"><iframe width="650" height="360" src="https://embed.windy.com/embed.html?type=map&amp;location=coordinates&amp;metricRain=default&amp;metricTemp=default&amp;metricWind=default&amp;zoom=7&amp;overlay=radar&amp;product=radar&amp;level=surface&amp;lat=42.751&amp;lon=-72.9&amp;detailLat=42.890956&amp;detailLon=-71.20372&amp;marker=true" frameborder="0" allow="geolocation">></iframe></div>


This is in dark mode:
<div class="radar_image"></div>
<img style="object-fit:cover;width:650px;height:360px" src="https://maps.aerisapi.com/l5mUz7dvdCmE8YnafeWvc_cMUkUwxT9ziQbpmrE1Vp9JsH6oDxHGJ8DVL8ZVhO/flat-dk,water-depth-dk,counties:60,rivers,interstates:60,admin-cities-dk,alerts-severe:50:blend(lighten),radar:blend(lighten)/650x360/42.89095,-71.20372,8/current.png&amp;t=115002683" referrerpolicy="no-referrer">

tks
-jim

Mark Fraser

unread,
Aug 21, 2025, 10:08:23 AMAug 21
to weewx-de...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-development/801cee4e-f7a7-4513-80d8-b2b23ccb43d2n%40googlegroups.com.

I'm seeing this:

<!-- Radar image -->
<div class="col-lg-5 radar-map toprow-height">

<div class="radar_image"><iframe width="650" height="350" src="https://embed.windy.com/embed2.html?lat=50.927&lon=-2.671&detailLat=50.940&detailLon=-2.630&width=650&height=350&zoom=10&level=surface&overlay=radar&product=radar&menu=&message=true&marker=&calendar=now&pressure=&type=map&location=coordinates&detail=&metricWind=mph&metricTemp=%C2%B0C&radarRange=-1" frameborder="0"></iframe></div>
</div>
</div>
<!-- End of first row -->

When in dark mode.

Reply all
Reply to author
Forward
0 new messages