I do the image size change at the top level, so that all images are the same size. I am not sure what happens if only one image is larger.
I tested with Firefox (windows x64) and Apache server. Use F12 and inspect where the size directive is coming from, if you feel brave. On Wednesday, 8 March 2023 at 10:42:40 pm UTC+10 Michael Waldor wrote: > > Thanks for your quich reply. Changing the image size works fine in > skin.conf, but modifing seasons.css (for testing purpose at > /var/www/html/weewx being served by nginx) had no effect. Mayby cached > within firefox dspite reload? > > This is my current (testing) status within skin.conf - image sizes > currently intentionally commented: > > [[[daytempdew]]] > > # image_width = 600 > > # image_height = 180 > > [[[[outTemp]]]] > > data_type = outTemp > data_binding = wx_binding > [[[[dewpoint]]]] > data_type = dewpoint > data_binding = wx_binding > [[[[forecast_outTemp]]]] > data_type = outTemp > label = ' ' > > data_binding = dwd_binding > color = blue > > [[[[forecast_dewpoint]]]] > data_type = dewpoint > label = ' ' > data_binding = dwd_binding > color = red > > Cameron D schrieb am Mittwoch, 8. März 2023 um 13:33:09 UTC+1: > >> 1. edit the width in skin.conf >> 2. edit the value in seasons.css for #history_widget (where it says to >> match the skin.conf value) >> 3. copy the css file into place (I forgot that!) >> 4. ctrl-refresh to get full reload. >> >> On Wednesday, 8 March 2023 at 8:52:17 pm UTC+10 Michael Waldor wrote: >> >> ... >> >> Next I wanted to increase the image size form the default 500px to 600px. >> Again trivial by adding image_width within some image in skin.conf. Works >> fine, the created image has the requested width of 600. But it is shrunk to >> 500px probadely by seasons.css. I tried to modify seasons.css within >> history_widget (from 500px to 600px). Modifing the css seems to have no >> effect on the rendering (tried to reload the web page after changing css at >> server location). >> >> ... >> >> -- 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/27dd23c1-b122-4ca5-b06c-3d939a1f01a6n%40googlegroups.com.
