Key takeaways
- Resize images to their real display dimensions and export as WebP before uploading.
- Write concise alt text describing the image plainly for screen readers and image search.
- Strip raw GPS EXIF metadata from phone photos and declare width/height attributes.
1. Resize and convert to WebP before uploading
Phone cameras capture 4000px-wide files weighing 3 to 6 MB. Resizing to 1400px wide for heroes or 800px for cards and exporting to WebP routinely cuts file size by 75% to 90% with no visible loss of sharpness.
2. Use plain filenames and accurate alt text
Rename IMG_4821.JPG to something concrete like asphalt-shingle-roof-replacement-sechelt.webp. Write alt text as if describing the photo to someone on the phone, without stuffing keywords.
3. Prevent layout shifts and strip private EXIF data
Set width and height attributes so browsers reserve space before pixels download, add loading="lazy" to below-the-fold images, and strip camera GPS metadata before publishing client home photos.