Why is it worth preparing and optimizing photos before uploading them to the website?

Optimized graphics will significantly shorten the loading time of your website.

Correctly described photos will help you find your website in Google graphics.

Image optimization strongly supports SEO activities.

Here is a step-by-step photo optimization guide:

1. Photo size (px)

To begin with, try to determine what size of images you will need for selected sections on your website.

For example, a full-width photo should be of such size that it displays well on larger screens (I use full HD).

If you set the page margins to a specific value (e.g. 1200 px) then check where you will need the photo for the entire margin and where - 1/2 or 1/4. This way you will define the maximum size of the graphic.

Example: the margins of my page are 1200px, but it will be divided into 2 equal columns with one text and a photo on the other, the width of the photo as it will be and needed is about 600 px.

There is no need to upload a 1500-pixel-wide photo if it will only be displayed in 600 px on the website

2. Weight (kb, MB)

Once you've decided on the size of your photos, it's time to slim them down. The weight of files has a huge impact on the positioning of your website.

If you are using Photoshop while saving the photo, try to reduce the quality as much as possible so that the difference is not visible to the naked eye. I usually reduce the quality to about 50%

The compressor.io website is great for slimming photos, just upload photos and download the optimized version. Compressor.io allows you to "slim down" without any visible loss of quality.

3. Name (before uploading to the website)

Before uploading to the website, make sure that the photo does not have an accidental title, eg DSG 325 (straight from the camera).

Sign the photos using a key phrase in line with the subject of the photo, but without Polish characters and with a space instead of dashes. 

4. Title and alternative text

We can set image attributes in any page builder, but what is that?

"Alt text" is simply alt text that the search engine is reading. The filled alt attribute means that the robot knows what is in the photo and can assign it to the search results.

Additionally, the alternative text is visible to users if for some reason the photo cannot be displayed (e.g. it takes a long time to load).

Another attribute is the title of the image, it is the auxiliary text that is visible to the user of the website when hovering over the image.

When filling in these fields, it is worth using a keyword phrase, but at the same time describing what is in the photo. Alt text and title can share the same description.