I’m displaying the recent post images on my front page. I need to remove the crop aspect (already turned that off in Settings > Media) and just resize the image to be a specific size every time. I’ve tried to add some code to my functions.php and am getting nowhere.
add_filter( 'image_size_names_choose', 'my_custom_sizes' ); function my_custom_sizes( $sizes ) { return array_merge( $sizes, array( 'front-books' => __( 'Front Book Covers' ) ) ); } function white_setup() { //Register custom thumbnail sizes add_image_size('front-books',75,100,false); add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size(75,100); }
Hi Hopemarshall
The post loop widget that you are using on your home page at the moment is the one supplied with the theme. If you switch over to the SiteOrigin Post Loop we should be able to help.
Thank you
Magus
On a side note, did you get my reply to your other post
Thread: No image in post carousel