Resizing and sending images