If a user attaches an image that is over 5MB, convert it to a JPEG and downscale it so the attachment isn't lost