Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.9.1 (build 3096) - 31 October 2020 (please see announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of the NOAA report and Snow Index drop-down menus to 2030)

Use this Wiki link to Download the Software (Cumulus MX / Cumulus 1 and other related items).

Editing Signature Banner

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
Post Reply
geoffw
Posts: 456
Joined: Fri 08 May 2009 3:12 pm
Weather Station: Oregon WMR200
Operating System: Windows 10
Location: Pembrokeshire West Wales UK
Contact:

Editing Signature Banner

Post by geoffw »

Having come back to the the forum after some time away I have resurrected my signature Banner (See below). But it still looks pretty awful with a basic font and odd symbols scattered through it.

Would some kind and knowledgeable user offer me some advice on how to smarten it up?

Many thanks in advance.
Geoff
Image

geoffw
Posts: 456
Joined: Fri 08 May 2009 3:12 pm
Weather Station: Oregon WMR200
Operating System: Windows 10
Location: Pembrokeshire West Wales UK
Contact:

Re: Editing Signature Banner

Post by geoffw »

Text sorted myself (show-off!). But how do the change the background colour - or even add an image?
Geoff
Image

User avatar
PaulMy
Posts: 2316
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2+ Cumulus1 / CummulusMX
Operating System: Windows8 / Windows10
Location: Komoka, ON Canada
Contact:

Re: Editing Signature Banner

Post by PaulMy »

At line 183 just after the Set colors we want to use I have added my bacground image...

Code: Select all

// The line below is for the background image, which must be placed in the same directory as the banner.php script
 $baseimg = imagecreatefromjpeg("komokaimage1.jpg");

   imagecopy($im,$baseimg,0,0,0,0,$SITE['image_width'], $SITE['image_height']);
   imagedestroy($baseimg);

// Make a Border Around the box

Enjoy,
Paul

geoffw
Posts: 456
Joined: Fri 08 May 2009 3:12 pm
Weather Station: Oregon WMR200
Operating System: Windows 10
Location: Pembrokeshire West Wales UK
Contact:

Re: Editing Signature Banner

Post by geoffw »

Thanks Paul, a satisfying days work!
Geoff
Image

Post Reply