Images make pages more engaging, but unoptimized ones slow your site. Done right, they can also bring visitors from image search.
Alt text
Alt text describes the image for people who cannot see it and gives search engines context. Write a short, accurate phrase, for example “Blue running shoes on a wooden floor”. Skip it for purely decorative images, and never stuff keywords.
File names
Use descriptive names like blue-running-shoes.jpg rather than IMG_4821.jpg.
Size and format
- Resize images to the dimensions shown on the page.
- Compress them. Modern formats like WebP or AVIF are usually smaller than JPEG or PNG at similar quality.
- Add width and height attributes to prevent layout shift.
- Lazy-load images below the fold.
Supporting content
Place images near relevant text and add captions when useful. Include important images in your sitemap if they matter for image search.
Audit
A site audit finds images with missing alt text and oversized files across your pages, so you can fix them in bulk.
Key takeaways
- Compress and resize before you upload.
- Write short, accurate alt text for meaningful images.
- Descriptive file names and lazy loading finish the job.
Comments