Skip to content
Technical SEO

Website photo optimization: SEO, speed and quality

22 June 2026·7 min
Website photo optimization: SEO, speed and quality

Photos have a huge impact on the perception of a website. They show implementations, build trust, explain the offer and help the user feel that the company is real. At the same time, they are one of the most common causes of slow page loading. Files uploaded straight from the camera can be several or a dozen megabytes, which, especially on a phone, quickly spoils the user experience.

Optimizing photos is not about reducing the quality as much as possible. It's about finding the balance between appearance, speed, and SEO context. Well-prepared images are light, sharp, have the appropriate format, alternative description and do not cause the layout to move during loading.

The image size should fit the space on the page

The most common error is uploading a photo with a width of 4000 pixels to a place where it is displayed at 800 pixels. The browser must download a file that is too large, even though the user will not see the additional quality. Before publishing, it is worth preparing images in sizes adapted to the hero, implementation cards, blog entries and thumbnails.

WordPress creates several image sizes automatically, but the theme must use them correctly. If your template always loads the full file, even the best media library won't help. It's a good idea to check your page with PageSpeed ​​Insights and see which images are flagged as too large.

WebP and AVIF formats

Modern formats, such as WebP and AVIF, allow you to significantly reduce file weight while maintaining good quality. For most business websites, WebP is a very practical choice because it is widely supported and easy to implement. AVIF can produce even smaller files, but sometimes requires more careful quality control.

However, you don't have to change everything manually. In WordPress, you can use automatic conversion and compression tools. It is important not to overdo the compression, because blurry photos of projects, products or teams reduce the credibility of the website.

Alt text and file names

Alt text describes the image to people using screen readers and helps the search engine understand the context of the image. It should be specific but natural. Instead of "seo website the best agency", it is better to write "view of the company website analytical panel".

File names should also be tidied up. A file named website-for-firmy-remontowej.jpg says more than that IMG_4829.jpg. This isn't the most important SEO factor, but it helps keep things organized and can support the context of images.

Lazy loading and image in first view

Lazy loading causes images beyond the first screen to load only as the user approaches them while scrolling. This is a good solution for the gallery, blog and sections lower on the page. However, you should not delay loading the most important image in the first view, as this may worsen LCP, one of the Core Web Vitals metrics.

Images should also have their dimensions set. Thanks to this, the browser reserves space for them and the content does not jump while loading. This is important for user convenience and system stability on phones.

Photo optimization checklist

  • Reduce photos to the actual dimensions used on the website.
  • Use WebP or AVIF where possible.
  • Add descriptive filenames and alternative texts.
  • Do not delay main image loading after first scroll.
  • Check that graphics do not cause layout shifts.
  • Compress images but control visual quality.

Summary

Image optimization is a quick way to improve the quality of your website. Lighter images reduce loading times, perform better on phones, and help maintain good technical performance. At the same time, well-described graphics support accessibility and SEO context. The best effect is achieved by combining compression, appropriate dimensions, modern format and thoughtful use of images in the design.

How to prepare photos of projects and products

Photos of the project should be sharp, well-lit and show the real effect of the work. For company websites, it's a good idea to use real photos of your team, office, products or projects whenever available. Stock photos can complement your website, but should not replace evidence of credibility.

Before uploading photos, it is worth giving them descriptive names, reducing the resolution, compressing the files and adding alternative text. For implementation, a good description may be the project type, industry and context, e.g. "website for a construction company with a quote form".

The most common errors with images in WordPress

It's easy to upload photos in WordPress, but it's harder to keep everything organized for several years. Common errors include lack of compression, duplicates of the same graphics, unlabeled files, old logos in different versions, and using images as text. Text written in graphics is more difficult to read, works worse on a phone and does not help accessibility.

It is worth establishing a simple publishing procedure: each image has a name, alt, appropriate size and a reasonable place on the page. For larger websites, it is also a good idea to periodically check the media library and delete unused files if they are not needed.

Images and conversion

Image optimization isn't just about SEO. Good images increase trust and help the user make a decision. On the service website, photos of implementations, project screens, performance charts and team photos can shorten the distance between the company and the customer.

It is worth selecting photos for the stage of the funnel. In the first view, the image should reinforce the main promise. In the implementation section it should show the effect. During the process, it can present the way of working. This selection of graphics is more effective than decorative images unrelated to the offer.

How to measure the impact of photos on page speed

The easiest place to start is PageSpeed Insights, but it's worth looking at more than just the overall score. Specific indications are key: largest item in view, off-screen images, incorrect sizes, and files that are too heavy. They show which graphics really need work.

After optimization, it is worth comparing the result before and after the changes, but also checking the website manually on your phone. Numbers are important, but the user evaluates the real experience: whether the image appears quickly, whether the page does not jump and whether the photos still look professional.

How to establish an image standard in your company

For a website that will be developed, it is worth establishing a simple publication standard. For example: hero photos have a specific size, blog thumbnails are in one proportional format, and implementation images have a descriptive alt. This prevents subsequent people editing the page from uploading accidental files.

This standard saves time and maintains quality. The website does not swell with heavy graphics, the blog looks coherent, and the projects are easier to browse. This is especially important after a year or two, when your media library begins to grow rapidly.

Media library optimization plan

For an existing website, it is best to start with the most important views: home page, services, implementations and articles with the highest traffic. You don't have to optimize your entire library in one day. First, it is worth improving images that have a real impact on speed and conversion.

After the first step, you can establish a process for new graphics. Each new photo should be reduced, compressed, named and described before publication. Thanks to this, the problem does not return after a few months and the website maintains good performance despite further expansion.

Related services WebHeaven

This guide links to specific services that help you translate what you learn from the article into implementation.

SEO audit Diagnosis of technical errors, indexation, content and implementation priorities. Website development Design and implementation of SEO-ready company websites, speed and query acquisition. Maintaining the website WordPress Updates, security, technical fixes and ongoing website support.
WH

Author: WebHeaven

Article prepared by the WebHeaven team based on work on company websites, WooCommerce stores, SEO audits and campaigns aimed at obtaining queries from Google.

Consult your website with WebHeaven

FAQ

What photo format is best for a website?

Most often, it is worth using WebP or AVIF, and leaving JPG as a safe format for photos if the system does not support newer formats.

Does alt text help SEO?

Yes, if it describes the image naturally and helps you understand the context. It should not be a list of stuffed keywords.

Can large photos lower Core Web Vitals scores?

Yes, especially if the largest image in the first view is heavy, out of dimensions, or loads without priority.

WebHeaven guides

All services · All English guides