Advanced search  

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]

Pages: [1]   Go Down

Author Topic: How can I paste image as background?  (Read 4956 times)

0 Members and 1 Guest are viewing this topic.

IrI

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
How can I paste image as background?
« on: May 20, 2006, 02:40:47 am »

My background of the gallery is white and I want paste an image as background like that: (http://img406.imageshack.us/img406/8866/bg7ko.jpg)
How can I do that?  ( http://www.jessica-simpson-fan.net/gallery/index.php )
« Last Edit: May 20, 2006, 03:32:49 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How can I paste image as background?
« Reply #1 on: May 20, 2006, 05:49:10 am »

you're using cpg1.3.4, so I'm moving your thread from the support board for cpg1.4.x to the board where it should have been posted in the first place.
To solve your issue, edit http://www.jessica-simpson-fan.net/gallery/themes/classic/style.css, find
Code: [Select]
body {
        font-family : Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        background : #CCCCFF ;
        color : Black;
        margin: 0px;

}
and replace with
Code: [Select]
body {
        font-family : Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        background : #CCCCFF ;
        color : Black;
        margin: 0px;
        background-image:url(path/to/your/image.gif);
        background-repeat:repeat;
}
The image you're going to use is unnecessarily large, just tile it and use the reduced version (see attachment).
« Last Edit: May 20, 2006, 05:56:35 am by GauGau »
Logged

IrI

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: How can I paste image as background?
« Reply #2 on: May 20, 2006, 03:29:56 pm »

Thank you so much!  ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.