use the file API to warn against wrong aspect ratio image uploads