forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: John on October 20, 2003, 05:47:49 pm

Title: Image borders would be cool
Post by: John on October 20, 2003, 05:47:49 pm
Any ideas for custom thumb or image borders? eg. A pic frame, filmstrip or similar? I know a number of other gallerys out there atm allow this.

John
Title: Image borders would be cool
Post by: Rodinou on October 20, 2003, 07:01:59 pm
All can be done with CSS

For example in style.css    add ...


img.border {
padding:10px;
border:2px dotted #FFFFFF;
margin:1px;
}

Add in code

<img class=border>

And see result :)

Of course, you can add some backgrounds ...

img.border {
background-image:url(url-of-your-choice-of-the-pic.gif);
background-repeat: choose between auto/yes/no;
}

And a lot of possibility, like that ...