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
May 22, 2015 at 8:43 am
#4823
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:
if ( ! is_admin() || (defined( 'DOING_AJAX' ) && DOING_AJAX) ) {
add_filter( 'image_resize_dimensions', 'bfi_image_resize_dimensions', 10, 5 );
}
remove those lines, or comment it out like this:
/*if ( ! is_admin() || (defined( 'DOING_AJAX' ) && DOING_AJAX) ) {
add_filter( 'image_resize_dimensions', 'bfi_image_resize_dimensions', 10, 5 );
}*/
Let me know if it changes anything.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)



