https://www.icyphoenix.com/viewtopic.php?f=33&t=7169&p=53729#p53729
-----------------------------------
Joshua203
Tue 13 Sep, 2011 16:28

Re: Random Background Changer
-----------------------------------
I had some questions at phpbb.com about this and think the next quote from that thread may help people that want to use this as a header background changer

[quote="Joshua203"][quote="cyanman85"]Where do i put the folder with the images?[/quote]
Try styles/milky_way/theme/images

[quote="cyanman85"]Do I not have to make a path to the images folder in the php code? (It does not describe this).[/quote]
No

[quote="cyanman85"]Where do I put the php file I generate?[/quote]
In the same folder as the images

Then you open the stylesheet.css with an editor (a good one ...not notepad) and find something that looks like this:
[code]#top_logo{
	border-width: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	background: url('./images/top_header.png') repeat;
	height: 150px;
}[/code]

Replace the line:
[code]	background: url('./images/top_header.png') repeat;[/code]
With:
[code]	background: url('./images/YOUR FOLDER/random_bg.php') no-repeat;[/code]

and post back how it looks

*Note... I've just tested this on black_pearl so the codes may differ a bit ;) 
Btw ...always backup the files before you edit them!!![/quote]

Greetings,
...Joshua203


