Home / Blog / Image SEO: Alt Text, Compression & File Naming Explained

SEO & Tips

Image SEO: Alt Text, Compression & File Naming Explained

By Haldwani Web Solutions · 16 Jul 2026 · 3 min read

Images make a website feel real and trustworthy, but poorly handled images are also one of the most common reasons small business websites load slowly and rank lower than they should. Most business owners upload photos straight from their phone or camera without a second thought, which quietly costs them both speed and search visibility. In this guide you will learn how to write alt text properly, name your image files sensibly, and compress images so your site stays fast without looking worse.

Why images affect your SEO more than you think

Google cannot "see" a photo the way a person does. It relies on text clues around and inside the image, your alt text, file name, and surrounding page content, to understand what the image shows and who it might be relevant to. Get these clues right and your images can rank in Google Image search and reinforce the topic of the page they sit on. Get them wrong, or skip them entirely, and you lose a genuinely useful ranking signal for free.

Beyond rankings, images are frequently the single biggest reason a page loads slowly, and slow pages hurt both your rankings and your conversions. Our Core Web Vitals guide covers this in more depth, but images are almost always the first place to look when a page feels sluggish.

Writing alt text that actually helps

Alt text is a short written description of an image, meant primarily for screen readers used by visually impaired visitors, and secondarily as a signal to search engines. Good alt text is specific and honest, describing what is actually in the photo in a natural sentence, not a pile of keywords crammed in for SEO.

File names matter more than people realise

Before you even get to alt text, your image's file name is doing quiet work. A file named "wooden-dining-table-haldwani.jpg" tells Google far more than "IMG_4821.jpg" ever could. Rename your images to short, descriptive, hyphen-separated names before uploading them, especially for product photos and any image you would like to show up in Google Image search results.

Compressing images without losing quality

A photo straight off a modern phone camera can easily be 4 to 8 MB, far larger than any website needs. Before uploading, run images through a compression tool or your website platform's built-in optimiser to shrink the file size dramatically, usually with no visible quality loss. Where possible, use modern formats like WebP or AVIF instead of plain JPEG or PNG; they typically produce noticeably smaller files at the same visual quality, and every major browser now supports them.

Also make sure images are sized appropriately for where they display. A hero banner does not need to load a 3000-pixel-wide image if it only ever displays at 1200 pixels; resizing before upload, not just relying on CSS to shrink it visually, is what actually saves load time. This single habit, resize and compress before upload, fixes a large share of the speed problems we see on small business sites, a topic we cover further in our improving website speed guide.

Turning images into an asset, not a liability

Handled properly, images strengthen your page's relevance, appear in Google Image search, and load quickly enough to keep visitors on the page instead of bouncing. It only takes a few extra minutes per image: a sensible file name, honest alt text, and a quick compression pass before upload. These small habits, followed consistently as covered in our broader on-page SEO checklist, add up to a meaningfully faster, better-ranking site over time.

If your website is carrying slow, unoptimised images and you want them fixed properly, see our transparent pricing or message us on WhatsApp at +91 7990222072. We handle image optimisation as a standard part of every website we build.

Need a website for your business?

Haldwani Web Solutions builds fast, modern websites at prices below the local market. Get a free quote today.

Get a Free Quote on WhatsApp
WhatsApp us