On 19/08/2025 13:08, Jim McHale wrote:
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&location=coordinates&metricRain=default&metricTemp=default&metricWind=default&zoom=7&overlay=radar&product=radar&level=surface&lat=42.751&lon=-72.9&detailLat=42.890956&detailLon=-71.20372&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&t=115002683"
referrerpolicy="no-referrer">
tks
-jim
--
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/weewx-development/801cee4e-f7a7-4513-80d8-b2b23ccb43d2n%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-development/801cee4e-f7a7-4513-80d8-b2b23ccb43d2n%40googlegroups.com?utm_medium=email&utm_source=footer>.
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.
--
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/weewx-development/04c7da93-f436-4282-9158-83875da6934f%40gmail.com.