thumbnail size and border thumbnail size and border
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

thumbnail size and border

Started by Cottelletje, July 12, 2006, 11:59:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cottelletje

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

Gizmo

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_album_list
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

Stramm

resizing to exact 120x120 (cropping) isn't possible out of the box... mods do what you're looking for