One image, every screen. How the subject ends up in the right place every time
Why faces get cut off on mobile and pages get heavy. How Strife finds the subject and frames every format around it.
You've found the perfect image for the home page. The person is looking into the frame, the light is lovely and everything is just where it should be. On your computer it looks great. Then you open the page on your phone and see half a face.
It is one of the most common problems with images on the web, and it isn't the image's fault. It happens because the same image has to be shown on screens with completely different shapes. Here we go through what happens to an image on its way to the visitor, and how we solve it in Strife.

The original is wide, and the woman sits on the right of the image.
The subject gets cut off
An image has a shape, for example 16:9 like a TV screen. But a website is shown on everything from wide monitors to phones held upright. When the image has to fill a box with a different shape, something has to be cut away.
Most of the time the developer solves this with CSS. The same image is used on every screen, and CSS tells it to fill the box. Whatever doesn't fit gets cut off. Without further instructions the browser keeps the middle and cuts the same amount from both sides. That works as long as the subject happens to be in the middle. It rarely is, because photographers like to place the subject a little to one side.
How we solve it
In Strife the design decides which formats the image should have on different screens. An image might, for example, be shown in 16:9 on a computer and in 4:3 on a phone. Each format gets its own crop, and the browser picks the one that suits the screen.
You can crop the formats yourself. But if you choose auto, Strife does it for you. AI finds the subject in the image, for example a person, a group, a face or an object, and draws a subject box around it.
Strife then frames each format around the subject using a few simple rules.
- The crop is as large as possible, so the image keeps as much of its surroundings as it can.
- The crop is centred on the subject.
- If the subject is taller than the crop, the head comes before the feet.
- Strife never zooms in further than the image can take, and the crop always stays inside the image.
So it is the formats in the design together with the subject that decide how the image is cropped.
Nobody has time to crop every image by hand
Another approach is called art direction. You make a separate crop of the image for each screen, and the browser picks the right one. It gets the subject right, but someone has to crop every image several times. On a website with hundreds of images that rarely happens, and whoever does the cropping doesn't always know what the page looks like on a screen they have never tried.
How we solve it
With auto the framing happens on its own, so art direction becomes something that just happens. But no automation is perfect, so you see how the image looks in each format as soon as you choose it.
If you think Strife has picked the wrong subject, you drag the subject box where you want it, and all the crops are framed again. If you want full control over a single format, you crop just that one yourself, and with one click you can hand it back to the automation.
The image is heavier than it needs to be
With the CSS approach the same image is downloaded on every screen. The image has to look sharp on a large monitor, so it is often big, and the phone gets the same file. When the image is then cropped with CSS, the parts that are never seen are downloaded too. In our example the phone only shows a strip in the middle, and roughly 69% of the image is downloaded for nothing.
An image that is too heavy shows up in several ways. The page loads more slowly and the visitor has to wait, and on a phone it uses up data. It shows up in search engines too, because Google takes into account how quickly the largest content on the page appears, and that is often an image. And every unnecessary kilobyte has to be stored, sent and displayed, which costs energy at every step.
How we solve it
Strife always starts from the high-resolution original. Each crop is cut from the original and optimised for the exact format where it will be shown, so the phone only downloads what it displays. Strife also produces each crop in several widths, and the browser picks the one that suits the screen. A high-resolution screen gets a sharp image, and a small screen doesn't have to download a large file. Strife never creates a version larger than the original, and warns you if a crop gets so small that the image risks looking blurry.
The heading lands right on a face
When the image changes shape, the text on top of it moves too. A heading that sat on a calm area on the computer can end up right across a face on a phone. Then both the image and the heading suffer, and the text becomes hard to read.
How we solve it
Strife knows where the subject is, but not where your heading is or what the image is meant to say on this particular page. That is something only you can decide. That's why you see every format in the preview before you publish, and move the subject box or crop the format yourself if the heading ends up in the wrong place.
The page jumps when the image arrives
Have you ever started reading a page and suddenly lost your place because everything moved down? It happens when the browser doesn't know how big the image will be. The text appears first, and when the image loads the text gets pushed down.
How we solve it
Strife sends along the dimensions of each crop and the image's average colour. The browser reserves the space for the image and fills it with a calm colour while the image loads, so nothing jumps.
One image, one alt text
With auto, every crop is framed around the same subject and shown in the same place on the page. That's why you write the alt text once, and it applies to every crop. If you crop a format yourself so that it shows something else, read the alt text again. We explain why alt text is written where the image is used, and not in the image library, in How to write alt text that helps both people and AI.
For developers
The image field gives every image a ready-made srcset with several widths, so the browser can choose the right size. With an image group you specify which formats the image should have on different screens, and each format gets its own srcset. The image is rendered as a <picture> with one <source> per format. With auto, Strife frames each format around the subject.
Read more in the guide Responsive images.