Recent Topics

1 Apr 27, 2011 17:40    

My b2evolution Version: Not Entered

How do i set a max size the post 'teaser' images that are linked to posts will show up? At the oment they are showing rather large on the home page of my blog, cant seem to find the values anywhere, no doubt its something simple. Even just set a max width so the height will adjust accordingly leaving the ratio of the image un affected

2 Apr 27, 2011 22:57

/skins/yourskin/_item_block.inc.php

// Default params:
$params = array_merge( array(
		'feature_block'   => false,
		'content_mode'    => 'auto',		// 'auto' will auto select depending on $disp-detail
		'item_class'      => 'bPost',
		'item_status_class' => 'bPost',
		'image_size'	    => 'fit-400x320',
		'excerpt_image_size'        => 'fit-80x80',
	), $params );

'image_size' and 'excerpt_image_size' define sizes of linked images. Make sure image sizes match those set in /conf/_advanced.php in $thumbnail_sizes


Form is loading...