individual background image in some albums individual background image in some albums
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

individual background image in some albums

Started by Nicolaj, June 01, 2006, 10:15:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nicolaj

Hi, I have just started playing with Coppermine, and am wondering...

Is it possible to have a background image in some albums (and subsequent 'childs')?

Hope you can help me

Nicolaj

Dr Preacox

Hmmm im not sure about having it only for selected albums and categories, but you can add this into your themes css file for an overall background image

Edit: gallery/themes/YOURTHEME/styles.css

Search for "body"

and add inside the { and } the following;


background-image:
url('IMAGENAME.jpg')


you can can also add this if you want the image to stay fixed, so when you scroll it wont move

background-attachment: fixed;


and you may want to set if the image repeats itself by adding

background-repeat: repeat;

Or if you dont want it to repeat

background-repeat: no-repeat;


Sam~
My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

Nicolaj

thx Dr Preacox,

but my problem is how to do it for JUST some albums...

guess I will just have to wait a bit longer and hope... :)

Nicolaj

Dr Preacox

Im sure a Dev will be able to help you, in the meantime try searching google, and the forum http://forum.coppermine-gallery.net/index.php?action=search
My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

Tranz


Dr Preacox

My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

Tranz

Quote from: Dr Preacox on June 01, 2006, 03:23:00 PM
Why didn't I think of that  :P
It's okay... I wouldn't have thought of it either except that someone just replied to one of my posts with reference to the mod. ;)

Dr Preacox

hahaha  :D okay then, well I'll be off .... *woosh*
My Mods:
Making Memberlist Public - VIEW
Different Way of Displaying Categories - VIEW
Coming Soon - Automated Sub Domains -MOD

Nicolaj

Thx TranzNDance

thought I had done a rather extensive search, but I didnt think of using different themes...

This should do the trick if I can get it to work on an album basis instead of category...

Nicolaj