SEO-img tutorials

Image SEO Tips You Can Apply to One Photo

An image can look good and still arrive on your website with a name like IMG_4821.jpg, no useful description and more pixels than the page needs. You can fix those things before publishing.

Illustration of image cards, a coffee mug, a magnifying glass and an editing pencil.

Let’s work through one photo: a blue coffee mug on a wooden desk, with a small succulent beside it. This is an AI-generated sample created for the tutorial. The hero is AI-generated too; the comparison cards are explanatory illustrations.

You can follow every step manually, without an account or SEO-img. These changes help you prepare and describe an image; they do not guarantee a position in Google Images.

Download the sample JPEG · 354.0 KiB

01 · Filename

Give the file a name that describes the picture

A camera name tells you very little about a picture. Look at the main subject, add a useful detail, and keep the correct file extension.

Before
IMG_4821.jpg
After
blue-coffee-mug-desk.jpg

The color, object and setting are enough here. You don’t need every visible item in the name. Google’s image guidance describes filenames as a small clue, and recommends short, descriptive names.

For this manual rename, the pixels and file bytes are unchanged. The supplied original and renamed JPEG both contain 362,476 bytes at 1536 × 1024 pixels.

Check it yourself

Download both copies and open them: the picture should look identical. Check the names and file sizes in your file manager. For an exact byte check, developers can compare their SHA-256 checksums; these two match.

If an image is already published, changing its name changes its URL. Update references and handle the old URL using your site’s migration practices. Choose the name before the first upload when you can.

The same mug photo renamed from IMG_4821.jpg to blue-coffee-mug-desk.jpg; the picture stays unchanged.
Tutorial illustration, not a product screenshot.

02 · Alternative text

Write alt text for the image’s role on the page

Without an alternative, someone who cannot see this sample misses the visual example. Describe what matters in the context of your page, rather than collecting keywords.

Missing
No alt attribute. The image’s purpose is unexplained.
Keyword-stuffed
coffee mug best coffee SEO images buy blue mug
Useful for this sample
Blue ceramic coffee mug on a wooden desk beside a small potted succulent.

Paste your reviewed description into the CMS’s alternative text field, or into the image’s HTML. This adds a text alternative to the page; it doesn’t change the visible picture.

<img src="/blog/image-seo-tips/blue-coffee-mug-desk.jpg"
     alt="Blue ceramic coffee mug on a wooden desk beside a small potted succulent.">

Alt belongs to the publishing page. Downloading a renamed image or a report does not install it on your website.

Purely decorative images can use alt=""; that is different from omitting the attribute. A linked image or image button needs an alternative that explains its function. Use the W3C image tutorials to choose for your context.

Check it yourself

Check the saved CMS field, then inspect the published image’s alt attribute. Hide images or review with a screen reader: does the description convey the relevant information without repeating unrelated keywords?

A keyword list compared with a description of the blue mug beside a succulent; the complete examples are in the adjacent text.
Tutorial illustration, not a product screenshot.

03 · External image-editor step

Resize and compare file formats

An oversized export makes readers download pixels the layout may not use. Decide how wide the image will appear, then use an image editor to resize a copy with the proportions preserved. Export JPEG and WebP versions and compare them at that display size.

For this page’s 800-pixel photo area, the supplied exports are 800 × 533. The smaller responsive WebP is 480 × 320. The table shows actual delivered files, not an estimated saving.

This is a separate editor step. SEO-img does not offer resizing or format conversion. Its prepared downloads keep the format and dimensions, but metadata removal and orientation handling can change the bytes and size. They are different from the byte-identical manual rename in tip 1.

Source JPEG, resized JPEG and WebP comparison. Exact dimensions, byte counts and encoder settings are in the accompanying table and text.
Tutorial illustration, not a product screenshot.
Measured files · 1 KiB = 1,024 bytes
File / formatDimensionsBytesKiB
IMG_4821.jpgJPEG · source export1536 × 1024362,476354.0
blue-coffee-mug-desk.jpgJPEG · name only changed1536 × 1024362,476354.0
blue-coffee-mug-desk-800.jpgJPEG · resized800 × 53358,12256.8
blue-coffee-mug-desk-800.webpWebP · resized800 × 53332,67231.9
blue-coffee-mug-desk-480.webpWebP · smaller variant480 × 32014,17413.8

Encoding settings: Pillow 12.3.0, LANCZOS resizing. Baseline JPEG: quality 95, optimized and progressive. 800px JPEG: quality 82, optimized and progressive. Both WebPs: quality 80, method 6. The baseline is an export of the AI-generated PNG, not a camera original.

Comparing the two 800px files keeps dimensions the same. Comparing the source with an 800px export combines resizing and encoding changes. Quality numbers across formats aren’t equivalent, and another image or editor can produce different sizes.

800-pixel JPEG export of the blue mug and succulent, for a visual quality comparison.
800px JPEG · 58,122 bytes · 56.8 KiB
800-pixel WebP export of the same mug and succulent, for a visual quality comparison.
800px WebP · 32,672 bytes · 31.9 KiB
Check it yourself

Open the linked files and check their dimensions and sizes in file properties. Look at the cup’s rim, ceramic texture and plant leaves at the size readers will see. The result you want is a smaller file that still suits your page, not a blurry image chosen just for a smaller number.

04 · Responsive images

Serve a suitable size for each screen

A phone may not need the same file as a wide layout. In your CMS, use its responsive image support if available. For developers, the example below uses the delivered 480px and 800px WebPs, with a real JPEG fallback.

The result is the same photo fitted to the page, with space reserved before it loads. The browser chooses a candidate using the available width and screen density; a high-density phone may still choose 800px.

Developer example: these paths work on this site. Copy the files into your own public image directory and update the paths when reusing it.

<picture>
  <source type="image/webp"
    srcset="/blog/image-seo-tips/blue-coffee-mug-desk-480.webp 480w,
            /blog/image-seo-tips/blue-coffee-mug-desk-800.webp 800w"
    sizes="(max-width: 840px) calc(100vw - 40px), 800px">
  <img src="/blog/image-seo-tips/blue-coffee-mug-desk-800.jpg"
    width="800" height="533"
    style="max-width:100%;height:auto"
    alt="Blue ceramic coffee mug on a wooden desk beside a small potted succulent.">
</picture>

Here, sizes matches an 800px-wide image with 20px side gutters on smaller screens. Change it for your layout. The width and height reserve the image’s proportions; the inline style lets it shrink to fit.

Check it yourself

Resize the browser and check that the photo fits without stretching. Developers can inspect the image’s currentSrc or Network panel to see the file selected, and reload slowly to check that its space is reserved. Keep a fallback src, as Google’s responsive image guidance recommends.

05 · Page context

Put the image next to text that explains it

A filename and alt text cannot explain a whole page. Place the photo near the section it supports, and add a caption if it helps the reader.

For a post about a small desk setup, a useful caption might be: “A blue mug and a small succulent keep this desk setup simple.” In this tutorial, the caption below explains why we keep using the same photo.

Blue ceramic coffee mug on a wooden desk beside a small potted succulent.
The same AI-generated sample photo used for the filename, alt-text and file-size examples.

The picture is unchanged; its surrounding text now makes its purpose clear. Don’t repeat a phrase everywhere just to add keywords.

Check it yourself

Read the section and caption with the image hidden. Can you tell why the photo is included? Check that it sits beside relevant text, rather than in an unrelated gallery.

06 · Publishing checks

Check that the image can actually be discovered

An image can be visible to you without being easy for a crawler to find. Use an ordinary <img> element for informative images, with a reachable src. Google documents this discovery path and does not index CSS background images.

Our sample is published with a real image element, a text alternative and a fallback URL. Open that JPEG directly to see the result.

After publishing your page, make sure its image URL loads without a login and isn’t blocked from crawling. An image sitemap can help with discovery where appropriate; it doesn’t guarantee indexing. See Google’s image discovery guidance.

Check it yourself

Open the published page and image URL. Inspect the page for its image src and alt. If an image won’t load, check its path and access settings first. Ask your site maintainer to check crawler access and sitemap setup if needed.

A photo and caption beside an HTML image example, showing where to put alt text and what to check after publishing.
Tutorial illustration, not a product screenshot.

07 · After publication

Measure what happens after publishing

It’s tempting to treat a filename change as proof of an SEO improvement. Search performance depends on more than one change, so keep a record and look at actual data.

For this example, record the page URL, the image URL ending in blue-coffee-mug-desk-800.jpg, the real publication date and the filename, alt, export and HTML changes you made.

  1. Open your verified site in Search Console and go to its Performance report.
  2. Choose the Image search type and filter to your page.
  3. Review impressions and clicks over a chosen date range; compare with another period when useful.

The observable result is your page’s actual image-search data, if available. No search results for this sample have been measured. The Pages tab shows landing pages, rather than individual image URLs. Follow Google’s image-performance instructions.

Check it yourself

Check the search type, page filter and dates before interpreting the numbers. If there’s little data, check discovery and page quality first. Don’t attribute a change in clicks to one filename, especially when several things changed together.

Optional · Filename and alt text

Prepare the words with SEO-img

You can do both manually. If you want a starting suggestion, open SEO-img and use the sample JPEG.

  1. Upload one image. Choose IMG_4821.jpg.
  2. Choose the alt-text language before analysis. Use English for this example; filenames stay in English.
  3. Analyze, then review. Compare the suggested name and description with the actual photo. The examples in this article are editorial suggestions; the tool may return different words.
  4. Edit and approve any changes. Changed fields must be approved before copying or downloading.
  5. Download and copy. Save the prepared image or report.json, and paste the reviewed alt text into your CMS or HTML.

The prepared image keeps its format and dimensions, with orientation handled and metadata removed. Its bytes can change. It is not the resized WebP demonstrated earlier, and the download does not add alt text to your page.

On the live site, optional text watermarking is a branding choice. Leave it off for this tutorial. It has no claimed ranking benefit; logo watermarks, resizing, conversion and batch uploads are not part of this workflow.

Check it yourself

Check the downloaded name and picture, and compare report.json with the fields you approved. Then verify the alt attribute on your published page separately.

Before you upload your next image

  • Choose a short descriptive filename.
  • Write or review alt text for its purpose on that page.
  • Check export dimensions, file size and visible quality.
  • Use responsive sizes and reserve layout space.
  • Place the image near relevant text.
  • Verify the published image URL and markup.
  • Monitor actual search data after publication.

Start with one image you already need. Get that workflow right, then reuse it for the next post.

Put these tips into practice: upload one photo to SEO-img and review its filename and alt text.

Try SEO-img with your image