Images for Websites and Blogs: Sizes That Keep Pages Fast
How to choose image dimensions and file sizes for web pages so they look sharp without slowing the page down.
Images are usually the heaviest part of a web page. A few habits keep your pages quick and your readers happy.
Why size matters
- Slow pages lose readers. People leave pages that take too long to load.
- Mobile data is limited for many visitors.
- Search engines consider speed as one factor.
Choose the right dimensions
Don't upload a 4000-pixel-wide photo for a column that's 800 pixels wide.
| Use on the page | Suggested width |
|---|---|
| Main content image | 800 to 1200 px |
| Full-width hero image | 1600 to 2000 px |
| Small inline image | 400 to 600 px |
| Thumbnail or card | 300 to 600 px |
Going somewhat larger than the display size helps on sharp, high-density screens, but there's no benefit in going far beyond.
Choose the right format
| Format | Best for |
|---|---|
| JPEG | photographs |
| PNG | graphics, screenshots, transparency |
| WebP | photos and graphics with smaller files, widely supported by browsers |
| SVG | logos and icons, which scale without losing sharpness |
File size targets
A rough guide:
- Most content images: under 200 KB.
- Large hero images: under 400 KB if possible.
- Thumbnails: under 50 KB.
A simple preparation routine
- Crop to the shape you need.
- Resize to the right width.
- Compress at a medium quality.
- Name the file clearly, with lowercase words and hyphens, such as red-bicycle-park.jpg.
- Preview it in the page to check the sharpness.
Add helpful text
- Alt text describing the image helps visually impaired readers and search engines.
- Captions add context.
Don't stretch
Set the display size to match the image's aspect ratio, or the picture will be distorted.
Test it
Check your pages on a phone with a slower connection. If images take time to appear, make them smaller.
Keep originals
Store full-size originals separately. If your layout changes, you can make new versions.
Tools
A resizer that offers exact dimensions, a target file size and cropping in one place makes preparing web images straightforward.
Image Compress & Resize Tool
Compress, resize and crop photos fast, ready to share to WhatsApp or Facebook
More about Image Compress & Resize Tool
Photo Requirements for University Admissions Portals
How to prepare passport-style photos and document scans for university applications, meeting size limits without losing clarity.
Read article →Resizing Images for Facebook Posts, Covers and Events
Image sizing tips for Facebook profile pictures, cover photos, shared posts and event banners, with crop advice for mobile and desktop.
Read article →Resizing Images for Instagram Posts, Stories and Reels Covers
The aspect ratios Instagram supports for feed posts, stories and reels covers, and how to crop and resize photos so they don't get cut off.
Read article →Resizing Images for LinkedIn: Profile and Banner
Practical sizing tips for LinkedIn profile photos, background banners and post images, plus how to crop so nothing important gets cut off.
Read article →