• I would love the option of making the photos in a album square like they are on the albums page.

    Other then that keep up the great work!!

Viewing 1 replies (of 1 total)
  • Hey codeblue2k,

    I guess you just want to display a square detail of the picture, clipping everything else, like this? If that’s case the solution is CSS. Only for other reasons I modified the plugin code a bit, but the gallery view is handled by css. You either just edit the style file provided with the plugin (which gets overridden on updates) or modify your themes style.css. I think you need something like this:

    table#kpg-pictures td .kpg-thumb img {
    	left:-15px;
    	position:relative;
    	top:-15px;
    }
    table#kpg-pictures td .kpg-thumb {
    	border:1px solid black !important;
    	height:80px;
    	overflow:hidden;
    	position:relative;
    	width:80px;
    }

    The second rule makes the surrounding div square (80×80) and says everything which overlaps should be clipped, the first rule shifts the picture a bit to the top and to the left to make the shown part more interesting.

    Hope this helped a bit, maybe Guillaume can include some similar in his standard style file.

    ~~~Cheers

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: kPicasa Gallery] Love the plugin – I have a feature request’ is closed to new replies.