How can I paste image as background? How can I paste image as background?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

How can I paste image as background?

Started by IrI, May 20, 2006, 02:40:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IrI

My background of the gallery is white and I want paste an image as background like that: (https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg406.imageshack.us%2Fimg406%2F8866%2Fbg7ko.jpg&hash=6229d3d03911cb61677e577a9315cba130a1b159)
How can I do that?  ( http://www.jessica-simpson-fan.net/gallery/index.php )

Joachim Müller

#1
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, findbody {
        font-family : Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        background : #CCCCFF ;
        color : Black;
        margin: 0px;

}
and replace withbody {
        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).

IrI