WordPress image title, caption and three more fields: which ones actually do something
An image in WordPress has five fields: alt text, title, caption, description and file name. Alt text matters most, because screen readers and Google read it. Everyone sees the caption under the image. The title keeps your library in order, the description usually doesn't show anywhere, and the file name is easiest to set before uploading.
Author: The TellMyShop team. A guide for WordPress site and WooCommerce store owners: the cause, the manual fix and the same work in a chat conversation.
Last updated: · 7 min read
The five image fields in the Media Library
Click any image in Media → Library. A window opens with the attachment details and fields to fill in. The documentation for the Media Library screen describes them. The fields look similar, but each one ends up somewhere different.
| Field | Who sees it | Effect on Google | What to enter | Worth fixing on old images? |
|---|---|---|---|---|
| Alternative text | screen readers, Google, visitors when the image doesn't load | large | what the image shows, a few to a dozen words | yes, starting with pages that get traffic |
| Title | you in the library, usually nobody else | negligible, usually not in the page code | a short name that helps you find the file | yes, when you're searching and only have IMG_ files |
| Caption | every visitor, under the image | indirect, as text next to the image | information for the reader: author, place, explanation | only where a caption is needed |
| Description | visitors to the attachment page, if it's enabled | small | a longer explanation, if the attachment page makes sense | usually not |
| File name | anyone who looks at the image address | a slight hint | a few short words separated by hyphens | new files yes, old ones only as an exception |
We've written a separate post on alt text, with examples of good and bad descriptions: alt text in WordPress. Here we look at the other four fields, the ones you ask about when your library looks like a camera folder.
An IMG_2034 title: cosmetic or a problem?
More cosmetic than a problem. WordPress takes the title from the file name on upload, so a photo from your phone gets the title “IMG_2034”. In a typical theme this title doesn't make it into the page code, so Google doesn't read it.
The trouble is elsewhere. A library with a thousand IMG_ files is impossible to search. You're looking for a lantern photo for a new post and going through the thumbnails one by one. On top of that, a camera title almost always means nobody touched the alt text either, and that does affect Google and accessibility.
Thursday, 22:10. You open the library to give titles to the images from your last product shoot. File 37 of 400, each one needs a click, the product name typed in and care not to mix them up. We'll come back to work like this at the end.
Caption and description: which one is for whom
The caption is the only one of these fields every visitor sees, because the theme shows it under the image. Fill it in when the image needs explaining: who's in the photo, where it was taken, what the chart shows. Under a product photo on a white background a caption usually adds nothing.
The description only shows on the attachment page, a separate page with just the image. Since WordPress 6.4, new installs have these pages turned off, and the attachment address leads to the file. Older sites kept them after updating. The WordPress core team's note on changes to attachment pages gives the details. SEO plugins such as Yoast SEO and Rank Math usually redirect attachment pages too. In practice you can skip the Description field.
There's a catch with both fields, the same as with alt text. When you insert an image into a post, the caption is copied into the post content. A later change in the library won't fix older posts.
File name: change it before uploading
The file name is the only one of the five fields WordPress won't let you change in the library. According to Google's image guidelines, a good name gives a very slight hint about what's in the image. Google recommends short, descriptive names instead of generic ones like image1.jpg.
The weight of that hint is small, and the risk of changing it afterwards is considerable. Renaming an uploaded file changes its address, so the posts that use it need fixing and the old addresses need redirecting. So:
- name new images before uploading, for example wrought-iron-lantern-terrace.jpg,
- don't rename old files in bulk just for SEO,
- the exception is the odd image on your most important pages, if you're replacing it anyway.
How to tidy up image details step by step
In order from what helps most to what's cosmetic.
- Find images without alt text. Start with those on the home page, in your offer, on products and in your most-read posts.
- Fill in the alt text. It's the only field that really affects Google and accessibility.
- Fix the titles of images that have camera names, so you can find them in the library.
- Add captions only where readers need them: photos with people, places, charts.
- Leave the Description field, unless your site has attachment pages turned on and needs them.
- Set a naming rule for new files and stick to it every time you upload.
- Check a few older posts to see whether the captions in the content match the library.
If your images weigh several megabytes each, take a look at our post on why WordPress is slow while you're at it.
How the chat tidies the Media Library in batches
In the morning you write one request, read the samples and approve a batch. The TellMyShop plugin for WordPress and WooCommerce finds images in the library with camera titles and no alt text. Your chat (Claude or ChatGPT) suggests alt text, a title and, if needed, a caption, based on the file name and the page or product the image is attached to. When that data doesn't make it clear what's in the image, it doesn't guess and sets the file aside for you.
You: The images from the last shoot have IMG_ titles. Fix the titles and alt text, don't add captions.
Your chat: The library has 112 images with a camera title, and 96 of them have no alt text. Three samples:
I'm not changing file names. 9 images aren't attached to any page, so I'm leaving those for you. Does the style work?
You: Yes, do the rest.
Your chat: Preview of the first batch: 50 images. I'll save it after your ‘yes’.
IMG_2034.jpg, attached to the product Small Hanging Lantern
old version: title: IMG_2034, alt: none
new version: title: Small Hanging Lantern black, alt: Small Hanging Lantern in black on a chain
IMG_2041.jpg, attached to the post How to light your terrace in autumn
old version: title: IMG_2041, alt: none
new version: title: Terrace with lanterns in autumn, alt: Wooden terrace in the evening lit by three lanterns
The numbers and names in this conversation are examples. Changing alt text, title and caption works in TellMyShop Pro straight after the licence is activated, with no switches, in batches of up to 50 images. Each batch has a preview, goes into the change history, and you can undo most changes with one request. With a large library, the chat first checks whether the work fits within the hourly limits set in the panel and suggests stages if needed.
What the chat doesn't do: it doesn't rename uploaded files, and it doesn't look at images the way a person does; it works from the data around them. Copies of captions and alt text in older posts are a separate change to the post content, also with a preview.
In the free TellMyShop Free version the chat finds images without alt text and with camera titles, and suggests descriptions, but doesn't save them. You can download it from the TellMyShop Free page. The details are on the TellMyShop for WordPress and WooCommerce page, and prices are in the pricing. Images are one point in a wider review, which we describe in our guide to the WordPress SEO audit.
Questions and answers
Does an image title like IMG_2034 hurt my site in Google?
The title in the Media Library usually doesn't make it into the page code, so Google doesn't see it. What does hurt is missing alt text, which often goes hand in hand with a camera title. A proper title mainly helps you find files.
What's the difference between an image caption and a description in WordPress?
The caption is text under the image, visible to every visitor. The description only shows on the attachment page, and in new WordPress installs those pages are turned off by default. In practice the caption is for the reader, and you can usually skip the description.
How do I change an image's file name in WordPress?
WordPress has no field for it. The simplest way is to give the file a good name before uploading. Renaming an image that's already uploaded needs a separate plugin and risks broken links in posts, so only do it where it's really worth it.
Why doesn't a caption change in the library show in my post?
Because the block editor saves the caption into the post content when you insert the image. The Media Library only suggests it for new insertions. In older posts you correct the caption in the Image block.
Will the chat rename image files?
No. The chat fills in alt text, title and caption in the Media Library, and doesn't rename files that are already uploaded. Only images the chat uploads itself from an address in TellMyShop Pro get a good file name.
WordPress is a trademark of the WordPress Foundation. WooCommerce is a trademark of Automattic Inc. Claude is a trademark of Anthropic PBC. ChatGPT and OpenAI are trademarks of OpenAI. TellMyShop is not affiliated with these companies.