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: New frame look??  (Read 4252 times)

0 Members and 1 Guest are viewing this topic.

khm1972

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
    • http://www.markussens.dk
New frame look??
« on: March 17, 2004, 08:38:12 am »

Hi

I would like to create new frames for my intermidiate and full size photos but don't know where and what to change.

I would like the new frame to consist of
1. A 1 pixel wide frame all around the photo
2: A 20 pixel wide black frame around the white frame

How do I do this????

Best regards
Klaus www.markussens.dk
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
New frame look??
« Reply #1 on: March 17, 2004, 09:57:17 am »

in themes/yourtheme/theme.php, find
Code: [Select]
style="border: 1px solid #000000; background-color: #FFFFFF; margin-top: 30px; margin-bottom: 30px;and modify accordingly.

GauGau
Logged

khm1972

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
    • http://www.markussens.dk
New frame look??
« Reply #2 on: March 17, 2004, 05:04:29 pm »

Hi Gau Gau - it works with the intermediate - but where do I change it for the full size images? ?

Hope you will take the time!

K


Quote from: "gaugau"
in themes/yourtheme/theme.php, find
Code: [Select]
style="border: 1px solid #000000; background-color: #FFFFFF; margin-top: 30px; margin-bottom: 30px;and modify accordingly.

GauGau
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
New frame look??
« Reply #3 on: March 17, 2004, 09:02:45 pm »

in displayimage.php, find
Code: [Select]
<table cellspacing="2" cellpadding="0" style="border: 1px solid #000000; background-color: #FFFFFF;">You may have to edit the stylesheet as well (depends on what you want to change)

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.