Hey Brian I just worked a simple fix.
There are several functions for resizing, because of version changes. I had to change a few.
First part of fix:
$file_destination = image_resize( $current_file, $imgw, $imgh, true );
$file_destination = image_resize( $current_file, $imgw, $imgh, false );
function reference here: https://codex.wordpress.org/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 );
$image->resize( $imgw, $imgh, false );
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!