I just had the same problem. It worked for me after I set the
$config['max_width'] = 600;
AND also
$config['max_height'] = 600;
in the config.php file
Note: You have to set both values to get the resize working. Even if you dont need to set the height, if one of the values is set to 0, nothing will be resized.
I found this information here.