I have the same problem. I understand how it works, but should I be calling a shortcode on the pages I want to use this on?
Hey Brian I just worked a simple fix.
In comment_pub.php
There are several functions for resizing, because of version changes. I had to change a few.
First part of fix:
find:
$file_destination = image_resize( $current_file, $imgw, $imgh, true );
$file_destination = image_resize( $current_file, $imgw, $imgh, false );
function reference here: https://codex.ww.wp.xz.cn/Function_Reference/image_resize
But it seems this is the outdated part of the function. Further work necessary.
there’s another function uner the comment
//Since WP 3.5 image_resize is deprecated
find this line:
$image->resize( $imgw, $imgh, true );
change to
$image->resize( $imgw, $imgh, false );
SOLVED!
Now, since the third parameter, crop, is off by default, and because I have no need of cropping height, only width, I rewrote this to:
$image->resize( $imgw );
Simple. Keeping the $imgh and setting the max at 2,000 or so ensures no super-tall content, but the resizing conveniently chops off any excess white space.
Hope this helps!