coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: passionateboy on July 12, 2006, 10:25:16 PM

Title: Random background, more than one background
Post by: passionateboy on July 12, 2006, 10:25:16 PM
I´d like to have more than one background. Is possible to change it? /with some randombg script or change css, or .../ Exist a solution???

Thanks
Title: Re: Random background, more than one background
Post by: Gizmo on July 12, 2006, 11:36:10 PM
I've use the below script on sites and it's very easy to set up and use. Since you didn't say what background you want to change (body, table, etc), you'll have to play around where it best works for you but let's say you want to change a body background image, you would have something like this for your <BODY> tag:

<BODY background="/path/to/images/rotate.php" />

I would make sure NOT to use the "images" folder in your theme fodler but create a new subfolder.

The Random Image Rotator - http://automaticlabs.com/products/rotator (http://automaticlabs.com/products/rotator)

Give it a shot and let us know how it works out for you.

Cheers,

Billy
Title: Re: Random background, more than one background
Post by: Joachim Müller on July 13, 2006, 05:35:33 AM
I can only think of very rare occasions where a rotating background would do a photo gallery good, as it distracts from the actual content (the pics) and therefor confuses the visitor. Sounds terribly nineties to me, when people used blinking marquee text scrollers, just because it was possible. This is of course a matter of taste and entirely up to you, just my 2c.
Title: Re: Random background, more than one background
Post by: Gizmo on July 13, 2006, 12:28:42 PM
I agree that if the photo rotated automatically every few seconds but with this script, you can set it to rotate only with a page refresh. I hate those flashy rotating banners and headers. In my case, I created a theme for a friend with a photo frame in the upper left corner which shows a different photo of her family each visit (or refresh). It's cool and I'll check to see if she doesn't mind me posting her link. I used the body background example as I was playing with it at one time for that but it's difficult to match changing photos with a specific color scheme so I gave up on it for that use. Maybe I'll try again someday.