At the demo (http://kriesi.at/themedemo/?theme=enfold) all featured images of the blog posts are 220px height – and original image has 1030x686px. It automatically takes just a part of image from inside.
I can not reproduce this effect at my site.
It always just resize width to 100% of column and height is proportionally. If I upload an almost square image 1200x915px – and the column width is 569px (just like in the demo) – featured image height is proportionally 441px. I want it to be just 220px – a part of image (like in the demo page).
What can i do?
Thank you for using the theme!
Actually, the theme should automatically resize all images that you set as post featured image to 710x270px as long as the original image size exceeds the set dimension on the thumbnail size. Edit functions.php, find this code on line 108:
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>710, 'height'=>270); // big images for blog and page entries
Set the crop parameter to false to prevent wp from cropping the images, the downside of this modification is you might find some of the images stretched or unproportioned. Suggested image size that you should use is 1420x540px. Replace the code with this:
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>710, 'height'=>270, 'crop' => false); // big images for blog and page entries
Regenerate the thumbnails on Tools > Regen. Thumbnails using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/
You must be logged in to reply to this topic.