Skip to main content

Local & AI SEO

How to optimize images for speed

Images are almost always the largest thing a page downloads, and on a local business site they are usually unoptimised — photographs straight off a phone at full resolution. Fixing that is the fastest measurable performance win available on most sites.

Last reviewed by James Henderson

How do you write good image alt text?

Describe what the image shows, specifically, because alt text exists first for people using screen readers and its search value follows from doing that job properly. "Replaced cedar fence panels on a sloped garden" beats "fence", and keyword-stuffed alt text reads as manipulation when spoken aloud.

Frequently asked questions

What should I do first?

Resize. Compression cannot rescue an image with far more pixels than it needs. Export at twice the largest displayed size and no more — a photo shown at 600 pixels needs 1200, not 4000.

Which image format should I use?

AVIF or WebP with a JPEG fallback in a picture element, and SVG for logos, icons and diagrams. The modern formats are substantially smaller at equivalent quality.

Why set width and height attributes?

They let the browser reserve space before the image arrives, preventing the page jumping as content loads. That jump is measured as layout shift and counts against page experience.

Should I lazy-load every image?

Everything below the fold, yes. Not the main image at the top — it is usually the largest thing in the initial view, and deferring it delays exactly the metric you are trying to improve.

How do I check it worked?

Run the live URL through a page-speed tool on mobile before and after, comparing largest contentful paint and total page weight. Re-check after any redesign, because image handling breaks quietly in rebuilds.

Want this looked at for your business?

Twenty minutes on the phone usually finds the one thing holding the number back. James answers himself.

You reach James, not a call centre. No answer means he is on a job — leave a message and he calls back.

Call James: 832-338-2926

BayouEdge AI Assistant

Ask about our services

Hi! I'm the BayouEdge AI assistant. I can help you learn about our marketing services for Houston and South Texas businesses. What can I help you with?

Powered by BayouEdge AI