Strict form uploads
Government and institutional forms often enforce 100 KB or 200 KB limits. Passport photos are typically 600x600 pixels at under 100 KB. Visa applications may require 50 KB to 240 KB. Academic portals and job application systems usually cap at 200 KB to 500 KB. For these targets, resize to the exact pixel dimensions required, then compress at 70 to 80 percent quality. If the file is still too large, reduce quality in 5 percent increments until the limit is met.
Social media and publishing
Facebook cover photos are 851x315 pixels and can be several megabytes before the platform compresses them. Twitter header images are 1500x500 pixels. Instagram posts are 1080x1080 pixels and the platform accepts up to 30 MB, but smaller files upload faster. LinkedIn background images are 1584x396 pixels. Blog hero images are typically 1200x630 pixels for Open Graph compatibility. For these platforms, the size limit is generous, but faster upload and better platform compression result from sending reasonably sized files.
Email attachments and messaging
Email clients often have 10 MB to 25 MB total attachment limits. Instant messaging apps like WhatsApp compress images heavily, so sending a high-quality original is often pointless. Slack has a 1 GB file limit but warns about large files. Discord allows 8 MB for free users and 25 MB for Nitro. For email, aim for individual images under 1 MB and total attachments under 10 MB. For messaging, send the smallest useful version because the platform will recompress anyway.
Web and CMS uploads
WordPress default upload limit is 2 MB to 128 MB depending on server configuration. Shopify recommends 2048x2048 pixels for product images but compresses on delivery. Squarespace handles images up to 20 MB but warns about slow loading. E-commerce platforms generally need high-quality images for zoom functionality but serve thumbnails separately. For web uploads, balance the desire for zoom detail with the need for fast page load. A product image of 1200x1200 pixels at 150 KB is usually sufficient.