Home › Forums › Product Support Forums › Related Posts Pro for WordPress Support › this plugin forcing image to square › Reply To: this plugin forcing image to square
Hi!
It might be related to the newest version of the wordpress only. I think I have a solution though.
Open up the wp-content/plugins/related-posts-pro/includes/bfi_thumb.php file and go to lines 773-775, where you should see this:
[code]
if ( ! is_admin() || (defined( ‘DOING_AJAX’ ) && DOING_AJAX) ) {
add_filter( ‘image_resize_dimensions’, ‘bfi_image_resize_dimensions’, 10, 5 );
}
[/code]
remove those lines, or comment it out like this:
[code]
/*if ( ! is_admin() || (defined( ‘DOING_AJAX’ ) && DOING_AJAX) ) {
add_filter( ‘image_resize_dimensions’, ‘bfi_image_resize_dimensions’, 10, 5 );
}*/
[/code]
Let me know if it changes anything.