Skip to content

Commit b18d95f

Browse files
committed
Add focal point documentation to media library page
1 parent 9f5618e commit b18d95f

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

docusaurus/docs/cms/features/media-library.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ Click on the edit <Icon name="pencil-simple" /> button of an asset to open up th
635635
- click on the download button <Icon name="download-simple" /> to download the asset,
636636
- click on the copy link button <Icon name="link" classes="ph-bold" /> to copy the asset's link to the clipboard,
637637
- optionally, click on the crop button <Icon name="crop" classes="ph-bold" /> to enter cropping mode for the image (see [Cropping images](#cropping-images)).
638+
- optionally, click on the pin button <Icon name="map-pin" classes="ph-bold" /> to enter focal point mode for the image (see [Adding a focal point](#adding-a-focal-point)).
638639
- On the right, meta data for the asset is displayed at the top of the window <ScreenshotNumberReference number="2" /> and the fields below can be used to update the _File name_, _Alternative text_, _Caption_ and _Location_ (see [Organizing assets with folders](#organizing-assets-with-folders)) for the asset <ScreenshotNumberReference number="3" />.
639640
- At the bottom, the **Replace Media** button <ScreenshotNumberReference number="4" /> can be used to replace the asset file but keep the existing content of the other editable fields, and the **Finish** button is used to confirm any updates to the fields.
640641

@@ -657,6 +658,15 @@ Assets can also be moved to other folders from the main view of the Media Librar
657658
<!-- TODO: ask devs because there seems to be a bug/unintuitive behavior: choosing crop the original asset does not quit cropping mode 😅 -->
658659
5. Click **Finish** to save changes to the file.
659660

661+
#### Focal point on assets
662+
663+
1. Click on the edit <Icon name="pencil-simple" /> button to add a focal point to an image.
664+
2. In the window that pops up, click on the pin <Icon name="map-pin" /> button to enter focal point mode.
665+
3. Move the crosshair to the desired location and click to set the focal point.
666+
4. Click the check <Icon name="check" classes="ph-bold" /> button to validate the new focal point. Alternatively, click the cancel <Icon name="x" classes="ph-bold" /> button to abandaon changes and exit focal point mode.
667+
5. Click the reset <Icon name="arrows-counter-clockwise" classes="ph-bold" /> button to reset the focal point to the center of the iamge.
668+
6. Click **Finish** to save changes to the file.
669+
660670
#### Deleting assets
661671

662672
1. Click on the edit <Icon name="pencil-simple" /> button for the asset to be deleted.
-96.3 KB
Loading
-84 KB
Loading

0 commit comments

Comments
 (0)