resize images on send fix

Correct, this was old code and should not be there, you can remove it.