In some cases this call is getting a higher desired width/height and printing errors in the application log.
This will just avoid those error messages, not trying to set the values if this happens.
The PHP function returns "False" when a resize was not done.
In some cases this call is getting a higher desired width/height and printing errors in the application log. This will just avoid those error messages, not trying to set the values if this happens.
The PHP function returns "False" when a resize was not done.