Images slow down more WordPress sites than anything else. A photo straight from a camera can be 5 MB or more. Upload ten of those to a page and the page crawls, especially on a phone. Visitors leave, and Google notices.
Image SEO is the fix. It is a short workflow you repeat for every image: choose the right format, resize before you upload, compress, name the file properly, and write alt text. WordPress helps with part of it automatically, but the important steps are still yours.
Direct answer
To optimise images for SEO on WordPress, resize each photo to the width it will be shown at, usually 1,200 to 1,600 pixels, and compress it before upload. Save photos as JPEG or WebP, use a descriptive filename with hyphens, and write one sentence of alt text describing the image.
What is image SEO?
Image SEO is the practice of making images easy for search engines to understand and cheap for browsers to load. It has two parts. The first is technical: file size, format and dimensions. The second is descriptive: filenames, alt text and captions that tell Google what the image shows.
Both parts matter. A fast image helps the page rank. A well described image can rank on its own in Google Images, which brings in visitors who would never have found the page through a text search.
Why do images slow a site down?
A web page is a set of files the browser must download. Text is tiny. Images are usually the biggest files on the page by far. A single uncompressed photo can be larger than the rest of the page put together.
What image format should you use?
The format decides how the image is stored. The right choice depends on what the image is.
| Format | Best for | Watch out for |
|---|---|---|
| JPEG | Photographs, the best balance of quality and file size | Quality falls if you compress it too far |
| WebP | Photos and graphics, usually smaller than JPEG at the same quality | Some older editing tools do not preview it, but all modern browsers show it |
| PNG | Logos, screenshots and graphics with sharp edges or transparency | Large files for photos, so do not use it for product or blog photos |
| GIF | Short simple animations only | Poor quality for photos and large files for what you get |
For most small business sites, the rule is simple. Photos go out as JPEG or WebP. Logos and graphics with transparency go out as PNG. Everything else is an exception.
How do you resize an image before upload?
Resize before you upload, not after. WordPress creates smaller copies of each image when you upload it, but it keeps the original file too. If the original is 4,000 pixels wide, that large file still sits on your server and can still be served by mistake.
Check how wide the image will actually appear on your site. A full width blog image is usually shown at 800 to 1,200 pixels. A product image is often shown at 600 to 1,000 pixels. Resize to about that width, plus a little extra for sharp screens. A width of 1,200 to 1,600 pixels covers most uses.
How do you compress an image?
Compression removes data from the image file to make it smaller. Good compression removes data nobody can see. Bad compression makes the image look blotchy.
| Compression option | How it works | Best for |
|---|---|---|
| TinyPNG (online) | Drag a file in, download a smaller one | One off images, no plugin needed |
| ShortPixel (plugin) | Compresses on upload and can convert to WebP | Sites with many images |
| Smush (plugin) | Compresses on upload, free version covers the basics | Beginners who want a simple setup |
| Imagify (plugin) | Compresses on upload with three strength levels | Sites that want control over quality |
How do you write alt text?
Alt text is a short description of the image. Screen readers read it aloud for visitors who cannot see the image. Google reads it to understand what the image shows. If the image fails to load, the alt text appears in its place.
Write one plain sentence. Describe what is in the image, not what the page is about. Good alt text is “Plumber fitting a new bathroom tap in a Leeds home”. Bad alt text is “plumber Leeds best plumber cheap plumber”. The first helps people and search engines. The second is keyword stuffing and helps nobody.
What does WordPress do automatically?
WordPress handles three things for you, and it is worth knowing what they are so you do not duplicate the work.
First, since version 4.4, WordPress creates several smaller sizes of every uploaded image and serves the right size through srcset. A phone gets a small copy, a desktop gets a larger one. You do not need to do anything for this to work.
Second, since version 5.5, WordPress adds lazy loading to images by default. Images below the fold do not load until the visitor scrolls near them. That makes the first view of the page faster.
These features help, but they do not fix a 5 MB original. The original file still exists and still matters. Resize and compress first, then let WordPress do the rest.
How do images help mobile SEO?
Most visitors now arrive on a phone, and a phone is where heavy images hurt most. A page that loads in two seconds on a desktop can take six seconds on a weak mobile signal. That delay costs visitors and rankings.
Read our guide to mobile website SEO to see how image size fits into the wider picture of making a site work well on phones.
How do you check if your images are optimised?
Pick your five most visited pages and check them one by one. Open the media library and look at the file sizes. Any image over 300 KB deserves a look. Check that every image has a descriptive filename and alt text. Then run the page through a free speed test and look at the image recommendations. Fix the biggest files first, because they give the biggest saving.
Once the images on a page are fixed, link the page into the rest of the site. Read our guide to internal linking for SEO to see how those links help Google find and understand your pages.
FAQ
What is the best image size for WordPress?
Resize to the width the image will be shown at, usually 1,200 to 1,600 pixels wide for a full width image. Anything larger wastes bandwidth.
Is WebP better than JPEG for SEO?
WebP files are usually smaller than JPEG at the same quality, which helps page speed. Both formats work. Use WebP when your tools support it, and JPEG is fine otherwise.
What should I put in alt text?
One plain sentence describing what the image shows. Do not stuff it with keywords. Leave it empty only for purely decorative images.
Does WordPress compress images automatically?
No. WordPress creates smaller sizes and lazy loads images, but it does not compress the original file. Resize and compress before upload, or use a compression plugin.
How many images should a blog post have?
As many as the post needs, usually one featured image plus one or two in the body. Every image should add something, and every image should be optimised.
Do images really affect rankings?
Yes, in two ways. Heavy images slow the page down, which hurts rankings. Well described images can rank in Google Images and bring in extra visitors.
Conclusion
Image SEO on WordPress is a short habit, not a project. Resize before you upload, compress, choose JPEG or WebP, name the file properly, and write one sentence of alt text. WordPress then handles smaller sizes, lazy loading and WebP support for you. Do this for every new image and work through the heaviest old ones a few at a time. Fast pages with well described images rank better, load better on phones, and give visitors a better reason to stay.

