Restrict image size for mobile.