coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: camille003 on July 07, 2007, 02:41:17 PM

Title: Borders, open in a new page and tow by two
Post by: camille003 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 (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 (http://rose-mcgowan.com/gallery/example2.php)  and here, like this : http://img511.imageshack.us/img511/3324/rmgcpq6.jpg (http://img511.imageshack.us/img511/3324/rmgcpq6.jpg)

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



Title: Re: Borders, open in a new page and tow by two
Post by: vuud on July 07, 2007, 04:30:22 PM
Quote from: camille003 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 (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 (http://rose-mcgowan.com/gallery/example2.php)  and here, like this : http://img511.imageshack.us/img511/3324/rmgcpq6.jpg (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...


Title: Re: Borders, open in a new page and tow by two
Post by: camille003 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  :)
Title: Re: Borders, open in a new page and tow by two
Post by: vuud on July 08, 2007, 05:29:23 AM
Quote from: camille003 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  :)

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.

Title: Re: Borders, open in a new page and tow by two
Post by: MastiMasti on July 08, 2007, 07:19:40 AM
Quote from: camille003 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  :)

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
Title: Re: Borders, open in a new page and tow by two
Post by: Victoryfan on August 02, 2007, 03:19:18 AM
Quote from: vuud on July 08, 2007, 05:29:23 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  :-\
Title: Re: Borders, open in a new page and tow by two
Post by: Joachim Müller 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.