Call us
All articles

Image SEO: Alt Text, File Names, Compression and Google Images Traffic

A practical image SEO guide: how to write alt text that helps users and search, name image files, choose WebP or AVIF, compress and size photos, place images for context, and win traffic from Google Images and Lens.

8 min read
On this page

A buyer abroad searches Google Images for "leather cricket ball hand stitched", a bride-to-be uses Google Lens on a phulkari dupatta, a parent looks at photos of a school campus before calling. Images are a search channel of their own, and image SEO is how your photos get found, load fast and support your rankings. This guide covers alt text, file names, compression and more, with examples from Jalandhar and Punjab businesses.

Quick Answer

Image SEO means optimising images so search engines can understand, index and show them, and so they load quickly. Use original, relevant photos; descriptive file names; accurate alt text; modern compressed formats such as WebP; correct dimensions; lazy loading below the fold; and place images near related text. This helps Google Images, Lens and page rankings.

What Is Image SEO and Why Does It Matter?

Image SEO is the practice of making images discoverable, understandable and fast-loading for search engines and users. It matters for three reasons:

  • Extra traffic: Google Images and Google Lens send visitors, especially for visual products like clothing, jewellery, furniture, sports goods and food.
  • Page speed: images are often the heaviest files on a page and a common cause of slow Largest Contentful Paint.
  • Accessibility and context: alt text helps visually impaired users with screen readers and helps search engines connect images to topics.

AI-powered search is increasingly multimodal, meaning it can interpret images as well as text. Clear, well-labelled, original images give these systems more reliable information about your products and business.

How Do You Write Good Alt Text?

Alt text (alternative text) is a short written description of an image, added in the HTML alt attribute, that screen readers read aloud and search engines use to understand the image. Good alt text describes what is actually in the picture, in context.

Examples: weak vs useful alt text

  • Empty or generic: "image1", "photo", "product".
  • Keyword-stuffed: "best cricket bat Jalandhar cheap cricket bat buy cricket bat online".
  • Useful: "English willow cricket bat with full-size handle and red grip, front view".
  • Useful for a service business: "Physiotherapist guiding a patient through a knee strengthening exercise".

Alt text rules to follow

  1. Describe the image specifically and briefly, usually in one short sentence.
  2. Include a relevant keyword only if it naturally describes the image.
  3. Do not start with "image of" or "picture of"; screen readers already announce it is an image.
  4. For purely decorative images, such as divider lines, use an empty alt attribute so screen readers skip them.
  5. For images containing text, such as a fee banner or infographic, include the essential text in the alt attribute or in the page itself.

Do Image File Names Matter?

Yes, a little. File names give search engines a small extra clue and make your media library easier to manage. Rename files before uploading:

  • Weak: IMG_20260914_183022.jpg, WhatsApp Image 2026-09-14.jpeg.
  • Better: hand-forged-combination-spanner-set.webp, kaju-katli-box-500g.webp.

Use lowercase words separated by hyphens, keep them short and descriptive, and avoid stuffing. This is especially worth doing for product images that will stay on the site for years.

Which Image Format and Size Should You Use?

Choosing the right format is one of the quickest speed wins available.

  • WebP: a modern format with good quality at small file sizes; widely supported and a safe default for photos and graphics.
  • AVIF: often even smaller than WebP at similar quality; support is broad in modern browsers.
  • JPEG: still fine for photos if compressed well, useful as a fallback.
  • PNG: use for graphics that need transparency or sharp edges; avoid for large photos.
  • SVG: ideal for logos and icons because it scales without losing quality.

Compression and dimensions

Never upload a photo straight from a modern phone camera; it is far larger than any web page needs. Resize images to roughly the maximum width they will display at, then compress them. Free tools such as Squoosh, or plugins on WordPress and built-in handling on Shopify, make this routine. Serve smaller versions to phones using responsive images (the srcset attribute), which most modern themes handle automatically.

How Should Images Be Placed on the Page?

  • Near related text: Google uses surrounding text, headings and captions to understand an image. A product photo next to its description carries more meaning than one in an unrelated gallery.
  • Captions where useful: captions are widely read and add context, such as "Hand-stitched football panels being checked for seam strength".
  • Set width and height: this reserves space and prevents layout shift, improving CLS. See our guide to Core Web Vitals and mobile SEO.
  • Lazy-load below the fold: images further down the page can load only when the user scrolls near them, but never lazy-load the main hero image.
  • Use real HTML image elements for important images rather than CSS background images, which search engines may not index as images.

Why Do Original Images Beat Stock Photos?

Stock photos appear on thousands of websites, so they add nothing unique. Original photos of your actual shop, products, team, classroom or finished work do three things: they show real experience (part of E-E-A-T), they can rank in image search because they are unique, and they build trust with customers who want to see what they are really getting.

A phone and good daylight are enough for most small businesses. A clean background, consistent angles and several views per product make a big difference for e-commerce listings.

Which Technical Extras Help Image SEO?

  • Image sitemaps: most SEO plugins and Shopify include images in the sitemap automatically; check that important images are listed.
  • Structured data: include image properties in Product, Article, Recipe or LocalBusiness schema so rich results can display the correct image.
  • Open Graph images: set an og:image for each key page so the right picture appears when links are shared on WhatsApp, Facebook and LinkedIn.
  • Stable URLs: avoid changing image URLs unnecessarily, since search engines need time to recrawl them.

Common Image SEO Mistakes

  • Uploading multi-megabyte phone photos without resizing.
  • Leaving every alt attribute empty, or stuffing each with the same keyword.
  • Putting important text, such as prices or offers, only inside images.
  • Using the same stock photo as competitors.
  • Lazy-loading the hero image and slowing LCP.

Key Takeaways

  • Image SEO brings traffic from Google Images and Lens and improves page speed and accessibility.
  • Write specific, natural alt text that describes what is really in the image.
  • Rename files descriptively and use compressed WebP or AVIF at sensible dimensions.
  • Place images near related text, set dimensions and lazy-load only below the fold.
  • Original photos outperform stock images for trust, uniqueness and rankings.

Learn Image and Technical SEO at techcadd Jalandhar

Image optimisation is practised alongside WordPress, Shopify and Canva work in the digital marketing course in Jalandhar at techcadd. The 3-month track covers SEO and design foundations, the 6-month track adds technical SEO and Shopify, and the 9-month master track covers full e-commerce and marketplace listings. For more on-page practice, see our WordPress SEO guide, or book a free demo class.

Frequently Asked Questions

How long should alt text be?

Keep alt text concise, usually one short sentence that clearly describes the image. There is no fixed character limit, but very long alt text becomes tiresome for screen reader users. Put longer explanations in the caption or body text instead, and keep the alt attribute focused on what the image shows.

Does alt text help SEO rankings?

Alt text helps search engines understand an image, which supports ranking in Google Images and adds context to the page. Its main purpose, though, is accessibility for visually impaired users. Write it for people first; accurate, descriptive alt text naturally serves search engines too.

What is the best image format for websites in 2026?

WebP is a reliable default for most photos and graphics, offering small files with good quality and wide browser support. AVIF can compress further and is a strong option where your platform supports it. Use SVG for logos and icons, and PNG only when transparency or sharp edges are needed.

Should product images on Shopify have alt text?

Yes. Shopify lets you add alt text to every product image. Describe the product, colour, material and angle, such as "tan leather bifold wallet, open view showing card slots". This helps shoppers using screen readers and helps your products appear in Google Images and shopping-related searches.

Can images from Google be used on my website?

No, not unless you have permission or a suitable licence. Images appearing in Google search results are usually copyrighted by their owners. Use your own photographs, properly licensed stock images, or images you have created in tools like Canva under their licence terms.

Share this

Comments

Loading…

Leave a comment

Comments are read before they appear.

Ready to get started?

Start building yourcareer today.

Talk to a counsellor today. One call is usually enough to know which track fits your degree, your schedule and the job you want.

  • Free career counselling
  • No registration fee
  • Placement support included