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: Borders, open in a new page and tow by two  (Read 5833 times)

0 Members and 1 Guest are viewing this topic.

camille003

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Borders, open in a new page and tow by two
« on: July 07, 2007, 02:41:17 pm »

Hi guys !
I have three problems. I try to read the help pages but i'm french and its very hard for me to understand some things.

First problem : i have borders on my thumbs and I don't know how I can delete them : http://roseimages.free.fr/example2.php

Second problem : when i'm on my site page where i've put the code to view the thumbs, when i click on a thumb, the page opens at the same place of the thumbs and i would like that it opens in a new page

And Third problem : I would like them to be two by two. For example, here they are like this : http://rose-mcgowan.com/gallery/example2.php  and here, like this : http://img511.imageshack.us/img511/3324/rmgcpq6.jpg

Please, can you help me  ?!
Thanks in advance !



Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Borders, open in a new page and tow by two
« Reply #1 on: July 07, 2007, 04:30:22 pm »

Hi guys !
I have three problems. I try to read the help pages but i'm french and its very hard for me to understand some things.

First problem : i have borders on my thumbs and I don't know how I can delete them : http://roseimages.free.fr/example2.php

This is a browser thing, IE adds borders on.  You need to control this through CSS

Quote
Second problem : when i'm on my site page where i've put the code to view the thumbs, when i click on a thumb, the page opens at the same place of the thumbs and i would like that it opens in a new page

Look for windowtarget in the options array part of the documentation

Quote
And Third problem : I would like them to be two by two. For example, here they are like this : http://rose-mcgowan.com/gallery/example2.php  and here, like this : http://img511.imageshack.us/img511/3324/rmgcpq6.jpg

Please, can you help me  ?!
Thanks in advance !

You just change the number of rows and colums, so 2,1 would be 2 rows in 1 colum, etc...


Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

camille003

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Borders, open in a new page and tow by two
« Reply #2 on: July 07, 2007, 09:28:56 pm »

Thank you so much !

It's ok for the second and the third problem but for the first, i didn't know how to delete the border with a css ? Could you help me again please  :)
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Borders, open in a new page and tow by two
« Reply #3 on: July 08, 2007, 05:29:23 am »

Thank you so much !

It's ok for the second and the third problem but for the first, i didn't know how to delete the border with a css ? Could you help me again please  :)

You set a the css name into cpmfetch with the options array using one of the style tags...
Then you use CSS to turn it off.  Google for CSS tutorials - its a good think to learn.  You can even google "removing image borders with css"
The first few links have tutorials on this very topic.

Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

MastiMasti

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Borders, open in a new page and tow by two
« Reply #4 on: July 08, 2007, 07:19:40 am »

Thank you so much !

It's ok for the second and the third problem but for the first, i didn't know how to delete the border with a css ? Could you help me again please  :)

Hello CALILLE

 I am having a same problem with 2nd one

may you plz provide code for 2nd one like what have u done to open thumb in new page

I want same thing on my pages too :)

Plz plz Pretty plz
Logged

Victoryfan

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Borders, open in a new page and tow by two
« Reply #5 on: August 02, 2007, 03:19:18 am »

You set a the css name into cpmfetch with the options array using one of the style tags...
Then you use CSS to turn it off.  Google for CSS tutorials - its a good think to learn.  You can even google "removing image borders with css"
The first few links have tutorials on this very topic.


Thanks! But how do we attach the style sheet? I tried to add it through html bu it doesn't work  :-\
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Borders, open in a new page and tow by two
« Reply #6 on: August 02, 2007, 08:45:56 am »

You don't attach style sheets. You can have them inline or in a separate file. There's an HTML tag named <link> that allows you to do so. This is beyond the scope of this board - as suggested, read it up. There are many tutorials that will teach you HTML and CSS basics.
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 16 queries.