Page 1 of 1

Cumulus Banner background

Posted: Sat 09 Jun 2018 9:43 am
by griffo42
Hi

Is someone able to tell me how to add a background picture to the banner that I have in place. I did find a post which is some 7/8 years old but I couldn’t get it to work

Thanks

Keith G

Re: Cumulus Banner background

Posted: Sat 09 Jun 2018 10:33 am
by ExperiMentor
You’ll need to tell us which banner you are talking about. On the website linked from your signature, you just have the default Cumulus hillside and bird image. You can change that by just placing a different *.jpg in the directory.

Re: Cumulus Banner background

Posted: Sat 09 Jun 2018 1:32 pm
by PaulMy
Hi Keith,
I presume you are referring to your signature banner which is one of the TNET projects. In mine I have added at line 201 of the script

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);
Enjoy,
Paul

Re: Cumulus Banner background

Posted: Mon 11 Jun 2018 7:28 am
by griffo42
Hi Paul

Thanks for your reply. All sorted now..

Best wishes

Keith

Re: Cumulus Banner background

Posted: Mon 11 Jun 2018 1:08 pm
by PaulMy
You're very welcome Keith.

p.s. I'll need to check your site regularly as our son and his family live in Brisbane...

Enjoy,
Paul

Re: Cumulus Banner background

Posted: Fri 15 Jun 2018 11:50 am
by griffo42
Hi Paul

If it will be more convenient to you, I won’t mind your adding my site to the list you show on yours. I see the other Aussie site is in Adelaide which is quite a distance from Brisbane.

Best. Wishes

Keith