This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: TB images sizes

#1865
mharpen
Participant

Small correction to the above. In Alyeska, the maximum width of the slider is 940px. So it’s better to use the following so the browser doesn’t have to resize the large image.:

function my_image_sizes( $sizes ) {
	$sizes['slider-large']['width'] = 940;
	$sizes['slider-large']['height'] = 350;

	$sizes['slider-staged']['width'] = 530;
	$sizes['slider-staged']['height'] = 313;	// theme default is 312, which is off by 1 px

	return $sizes;
}
add_filter( 'themeblvd_image_sizes', 'my_image_sizes' );