Medium is one of the most popular blogging platforms for writers, developers, and thought leaders. But Medium's image handling is straightforward — it stores what you upload and serves it to readers. Unlike platforms that auto-resize images, Medium gives you control over the final image quality, which means the responsibility for optimization falls on you as the author. Compressing your images before uploading makes your articles load faster, improves the reading experience, and reduces bounce rates from readers on slow connections.
How Medium Handles Images
When you upload an image to a Medium article, Medium serves it through a CDN with some automatic resizing for the reading layout. However, the source file you upload determines the maximum quality and base file size. Medium generates smaller responsive variants from your original, so:
- Large original files produce better quality variants — but uploading a 10 MB photo wastes time and still results in unnecessarily large source files
- Medium typically renders content images at about 700 px wide in the article body, but full-width images can extend to 2000+ px
- Uploading extremely large images does not improve the reader's experience — Medium caps the display width at the article column width
Recommended Image Sizes for Medium
- Inline article images: 1400 px wide, compressed to under 300 KB. This is wider than Medium's default column to support full-width paragraphs and section breaks
- Feature image (article header): 1920×1080 px or 2:1 aspect ratio, compressed to under 500 KB
- Screenshots and code images: 1200 px wide, JPEG quality 85 or lossless PNG, under 200 KB
- Diagrams and charts: PNG format with lossless compression, under 150 KB
- GIF animations: under 3 MB; reduce frame rate to 10–15 fps and limit length to 5 seconds
Best Image Format for Medium Posts
- JPEG: the best choice for photographs, illustrations with gradients, and any photographic content. JPEG at quality 85 provides excellent visual quality at 200–400 KB for a 1400 px image
- PNG: use for screenshots, diagrams, and images with text overlays. Always compress PNG files using lossless compression before uploading — raw PNG exports from screen capture tools can be 3–8× larger than needed
- WebP: Medium fully supports WebP. WebP is 25–35% smaller than JPEG at the same visual quality. Use Image Converter to convert to WebP before uploading for the smallest possible files
- GIF: Medium displays animated GIFs inline. Keep them short and well-compressed for best reader experience
How to Compress Images for Medium Step by Step
- Prepare your image: screenshots should be taken at 1x or 2x pixel density. Avoid uploading 3x or 4x retina screenshots — they add file size with no visible benefit on Medium's rendering
- Resize if needed: use Image Resizer to scale down images wider than 1920 px. Medium does not need source files larger than 1920 px for any display context
- Compress with the right settings: use Image Compressor. For JPEG, quality 85 is optimal. For PNG, enable lossless compression — you can typically reduce a PNG by 40–70% without any quality loss
- Convert to WebP for the smallest size: use Image Converter to convert from JPEG or PNG to WebP for an additional 25–35% file size reduction
- Upload to Medium: drag and drop or use the image insert button in the Medium editor. Feature images can be set by clicking the image button in the header section
Feature Image Best Practices
The Medium feature image (article header photo) is critical — it's what appears in article listings, search results, and social previews. Getting it right matters for both visual impact and load performance.
- Aspect ratio: 2:1 is the safest ratio. Medium crops feature images in listing views, so center your main subject to avoid cropping issues
- Minimum dimensions: 1920×960 px for 2:1 at display-ready quality
- File size: keep under 500 KB for feature images. A well-compressed JPEG at 1920×960 px should achieve this at quality 80–85
- Avoid stock photo clichés: Medium readers respond better to original, contextual images than to generic stock photography
Impact on Reader Experience
- Articles with large uncompressed images load 3–8 seconds slower on mobile connections
- Medium readers on mobile data are particularly sensitive to slow-loading content — this directly affects how long they stay on your article
- Faster-loading articles have lower bounce rates, which contributes to better performance in Medium's recommendation algorithm
- Properly sized feature images display correctly in all social sharing previews (Twitter Cards, LinkedIn, Facebook Open Graph)
Optimizing your Medium images takes less than a minute per article but makes a meaningful difference in load speed and reader experience. Use Image Compressor for quick compression, Image Resizer for scaling, and Image Converter to switch to WebP — all free, no signup.