coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Cottelletje on July 12, 2006, 11:59:52 PM

Title: thumbnail size and border
Post by: Cottelletje on July 12, 2006, 11:59:52 PM
how can I ad a border 2-3 px to the thumbnails just like the medium images have and how can i set a size like 120x120 for all thumbnails  ;D thanks a lot
Title: Re: thumbnail size and border
Post by: Gizmo on July 13, 2006, 12:58:04 AM
Please, one question per thread as set by the rules you agreed to when signing up.

OK, to set a border, you have to edit the .image properties in your theme=>style.css file. An example for a 2 pixel white border is:

.image {
        border-style: solid;
        border-width:2px;
        border-color: #FFFFFF;
        margin: 2px;
}


For resizing thumbnails, please search the board and documentation. Here's a start:
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_user_mode (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_user_mode)
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_album_list (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_album_list)
Title: Re: thumbnail size and border
Post by: Stramm on July 13, 2006, 08:59:00 PM
resizing to exact 120x120 (cropping) isn't possible out of the box... mods do what you're looking for