Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions content/guides/05.files/3.manage.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,23 @@ center point to specific coordinates.
2. Click the :icon{name="material-symbols:tune"} button in the top right to open the image editor.
3. Click the :icon{name="material-symbols:location-searching"} button to select a focal point.
4. Make your changes and click :icon{name="material-symbols:check"} in the top right to save the updates.

### Preview Preset Crops

![The image editor in focal point mode, with thumbnails of the hero, square-thumb, and portrait preset crops below the image.](/img/image-editor-preset-previews.webp)

[Transformation presets](/guides/files/transform#preset-transformations) that crop an image center the crop on the
image's focal point. While you set a focal point, a row of thumbnails below the image shows the crop each preset will
produce. The thumbnails start from the saved focal point, or the image's center if none is set, and update as you draw
or move the focal point box. Use them to check that the subject stays in frame before you save.

- Only presets that crop around the focal point appear. A preset crops when its **Fit** is **Cover** or not set, it
sets both a **Width** and a **Height**, and its aspect ratio differs from the image's.
- If a preset has **Don't upscale images** checked under **Upscaling**, the previews cap its width and height at the
image's size first. This can change its ratio or remove it from the previews.
- Presets that crop to the same aspect ratio share one thumbnail. The thumbnail shows the first preset's key and the
ratio. When more than one preset shares the ratio, it also shows how many others there are, such as `+2`, and
hovering over it lists every preset in the group.
- If no preset crops the image, the row of thumbnails doesn't appear.
- If you rotate or flip the image, the thumbnails rotate and flip with it. A quarter turn swaps the image's width and
height, so the set of presets that crop it can change.
Binary file added public/img/image-editor-preset-previews.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading