Did you obtain the TypeError message you posted the 500 Internal Server Error log from your server? If so, could you please provide an example URL that you're trying this with?
Unfortunately, trying here (on our latest beta) and on my own test community of 4.7.6, copying the image (not the URL of the image) and pasting in the editor, upon resizing, I am not getting an error.