Sidebar Block - possible to have fixed width (variable height)

gessel

Joined: 2007-11-19
Posts: 2
Posted: Mon, 2007-11-19 20:17

The side bar presentation looks best with a fixed width block - either always square thumbnails (like the matrix) or fixed width, variable height. Is this possible for Sidebar Block?

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2007-11-19 23:10

The output of the sidebar module really depends on your Gallery2 thumbnails.. If you generate your Gallery2 thumbnails using the square thumbnail plugin then the output should always be a fixed..

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
gessel

Joined: 2007-11-19
Posts: 2
Posted: Tue, 2007-11-20 17:25

Odd... I do in fact use the square thumbnails plugin. I get square thumbnails elsewhere... The plug-in is activated and set to squares. But the WPG2 sidebar block gets fixed aspect ratio images with the long side fitting the specified dimension.

Sidebar Grid Block works great. Sidebar Image block doesn't provide as neat a presentation (but I like having both, and I like Sidebar imageblock's text line)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2007-11-20 18:55

URL?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-11-21 11:48
gessel wrote:
Odd... I do in fact use the square thumbnails plugin. I get square thumbnails elsewhere... The plug-in is activated and set to squares. But the WPG2 sidebar block gets fixed aspect ratio images with the long side fitting the specified dimension.

Are the dimensions on your sidebar block small enough that you're getting the thumbnail and not one of the resizes shrunk down to fit in the block?

Example: if you have your thumbnails set to a 100x100 square, and you have the sidebar block set to 150, it will get the next resize up (640x480 or the like) and put it in the block with height/width parameters set so that the longest is the 150 limit set for the block and the short side set to maintain aspect ratio. It does this so that you never "grow" an image, which causes pixelation. It usually looks better to shrink an image into an area than it does to grow one.

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website