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: setting width/height max sizing  (Read 6637 times)

0 Members and 1 Guest are viewing this topic.

adrianlowe

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
setting width/height max sizing
« on: November 05, 2007, 07:16:26 am »

Hi there, I'm absolutely wrapped in this gallery and our club is looking forward to the possibilities. I've searched other posts and the doc but senility must be set in so I'd appreciate some help on this one. I simply want to set the max width/height in the config area (I know where) but just need the sequence as an example eg is it 1024/768 or w1024/h768 etc.

If I'm allowed another question: is there a list of what templates do what and what keywords do what? eg I want to resize the category names up a size and even though I found how to change their colour, I can't seem to find the relevant code to resize.

Thanks and regards, Adrian
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: setting width/height max sizing
« Reply #1 on: November 05, 2007, 08:10:59 am »

I simply want to set the max width/height in the config area (I know where) but just need the sequence as an example eg is it 1024/768 or w1024/h768 etc.
You can not specify both horizontal as well as vertical dimensions: the config fields can only hold one value. In your case: set 1024 to be the maximum.

If I'm allowed another question
No, you're not: we have a strict "one question per thread" policy that you agreed to respect when signing up.

is there a list of what templates do
Not sure what you mean: there is a list of themes on the demo and the download section.

what keywords do
Not sure what a "keyword" is for you, but I guess you're looking for CSS class names (not "keywords") and what section they control. If this is the case, then this posting is for you: Making a brand new theme, where to start?
To find out what part of coppermine is being controlled by which css class, the coppermine dev team recommends using these tools:
Both tools allow you (among many other usefull things) to display the css class applied (see attached screenshots)
Get the web developer extension, install it and then use the menu item "CSS"->"view style information" to find out which part of the output is being controlled by which CSS class. Please start a new thread if you need a more detailed explanation (as per the "one question per thread" policy).
Logged

adrianlowe

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: setting width/height max sizing
« Reply #2 on: November 05, 2007, 09:05:56 am »

Thank you, sorry and thank you. Adrian
Logged

adrianlowe

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: setting width/height max sizing
« Reply #3 on: November 05, 2007, 09:23:34 am »

OK, how do I stipulate the height dimension to be a max of 768?
Adrian
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: setting width/height max sizing
« Reply #4 on: November 05, 2007, 09:42:12 am »

Not at all. You can specify a max dimension.
Logged

adrianlowe

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: setting width/height max sizing
« Reply #5 on: November 05, 2007, 09:50:15 am »

Sorry, I'm confused by your answer. Does that mean I can't stipulate a max height dimension? I thought the config file says height or width? Does it mean that 1024 (for example) is then both max width AND max height?
Logged

dork313

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
    • NINart
Re: setting width/height max sizing
« Reply #6 on: June 05, 2008, 12:57:38 am »

I'm confused as well because it does say height or width?
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.