Cropping images and setting the focus point

Editing content
Applies to: every Sulu website As of Sulu 3.0

In short

For an image in the media you mark the important part with Set focus point and define the crop for a format with Define crops. The Formats tab shows which sizes exist.

The website does not always show an image the way you uploaded it. Depending on the space, it is shown in another size or with a different crop. In the media you can set which part of the image matters. There are two tools for this: the focus point and the crops.

Helpful first: 1.6 Media: images and files 2.3 Uploading an image and describing it properly

Step 1 of 4 Opening the image

Click Media in the main menu, open the folder and click the image. Below the image there are two links: Set focus point (1) and Define crops (2). The Formats tab (3) shows which crops exist.

Step 2 of 4 Setting the focus point

A click on Set focus point opens the image, divided into nine fields. Click the field (1) that holds the most important part of the image. With Save (2) Sulu remembers your choice. If you open the window again later, the same field is selected.

Step 3 of 4 Defining the crop

A click on Define crops opens a window with the image and a frame. At the top you choose the format (1), in the example Preview for social media (1200x630). The frame shows which part of the image is used for this format. A double click (2) maximizes and centers the crop.

Step 4 of 4 Looking at the formats

The Formats tab lists the sizes in which the website can show the image (1). Which formats exist is set by your website. In the example there is the format Preview for social media with the key 1200x630. The website uses this size for the preview image that appears when a link is shared on social networks.

Checking the effect

Whether an image is cropped depends on the format in which the website shows it. After saving, open the page that uses the image and check whether the important part is visible. Which pages use an image is listed under Insights at References.