Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Thanks freddie and Mark, finally found the Insecure settings in Edge and Chrome and now Ray's and others (and mine with the renamed file) show the banner image http://komokaweather.com/weather/current.php
Nottub wrote: ↑Sun 10 Jul 2022 8:05 am
It seems the originator in the early posts has withdrawn parts of their webpage where the code was made available.
water01 wrote: ↑Sun 10 Jul 2022 12:18 pm
I am afraid the code doesn't seem to be in that topic, but I found it in my backups plus the pdf with the instructions.
That thread explains why the site no longer exists, not that the code was available!
I hadn't picked up on the sad news, and for that I'm very sorry. It would appear that the information/ coding provided was the backbone of many banners, for that I think is much appreciated.
David, thanks for the files, I'll see if I can do something / anything with them.
Much to my amazement, it worked. Just need to understand the script a little better to see what's going on.
What does the $SITE['format'] image option actually do? I've read it, but don't really understand where the .png, jpeg or .gif formats come into this .php page.
It is important to realise that this script returns a stream of binary data which your browser will render as an image. The $SITE['format'] variable holds the image type you wish to return - mine is set to 'png' - other potential values are shown in a comment line close to where you set the variable. This value is used to set the content type header in the response returned to the web browser so that the browser knows how to handle the binary data returned.
Yes, you can include it as an image on a web page - that is exactly what happens on this forum thread in my replies. You just add a standard img HTML tag with the src attribute pointing to your php script. Something like this:
So you don't need to specify the type (png, jpg, etc ) in the img tag, as the browser will know this from the content type that your php script returns (this is the bit I was talking about in my previous reply).
@Mapantz kindly provided the code to add to my .htaccess file to ensure the info in my banner was always current. I plucked up the courage to add it yesterday and it seems to be working fine with one exception.
Cunulussites run by @JennyLeez is still showing yesterday’s data and despite refreshing the page and even clearing the cache for that site the problem remains.
Is it something at my end I need to change and if so, what?