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: Image background  (Read 2602 times)

0 Members and 1 Guest are viewing this topic.

Kunji

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Image background
« on: October 24, 2006, 09:55:52 pm »

hello all. could someone tell me what might be the easiest way to simply have the entire background, except thumbnails and buttons, one image i.e. everything transparent with just one image (a photo ) as the entire background for the entire gallery including all pages? thank you.
sincerely,
kunji
« Last Edit: October 25, 2006, 08:59:11 am by Sami »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Image background
« Reply #1 on: October 24, 2006, 10:02:39 pm »

- create a copy from classic theme (folder)
- name it something else (ie. mytheme)
- edit themes/mytheme/template.html and set your image for main table's (first table tag right after {CUSTOM_HEADER}) background
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Kunji

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Image background
« Reply #2 on: October 24, 2006, 11:07:35 pm »

thank you for the quick response. what would i put in the following tag so that the image will be the same in firefox as well as internet explorer?


<body>

  {CUSTOM_HEADER}

  <table width="100%" border="0" cellpadding="20" cellspacing="20";>

thank you.
sincerely,
kunji
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Image background
« Reply #3 on: October 25, 2006, 12:00:14 am »

add a background style to the first td
something like :
Code: [Select]
<td valign="top" style="border: 1px solid #666666;background-color:#FFFFFF; background:url(themes/mytheme/images/mybackground.jpg) no-repeat fixed ;">
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Kunji

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Image background
« Reply #4 on: October 25, 2006, 08:51:00 am »

thank you very much. problem solved.
sincerely,
kunji
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.