Constrain resizing.
File resizing and sending.