Skip to content

Commit 6b2fadf

Browse files
committed
add the image size selection docs
1 parent 8c25e71 commit 6b2fadf

File tree

2 files changed

+31
-6
lines changed

2 files changed

+31
-6
lines changed

docs/07-Pro Features/02-image-gallery.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The **Image Gallery** is a panel that appears at the bottom of the Live Preview.
1313

1414
> The Image Gallery is available only for `<img>` elements.
1515
16-
By default, the Image Gallery appears when you select an `<img>` element. You can close it by clicking the Image Gallery button in the Tool Box or the Close button in the gallery. To reopen it, click the Image Gallery button again.
16+
By default, the Image Gallery appears when you select an `<img>` element. You can close it by clicking the Image Gallery button in the Tool Box or the close button in the gallery. To reopen it, click the Image Gallery button again.
1717

1818
<!-- TODO: add image showing the Image Gallery ribbon -->
1919

@@ -28,12 +28,13 @@ Type a search term in the search box and press `Enter` or click the search icon.
2828
Hover over a thumbnail to preview the image in your page. The previously selected image is restored when you move the cursor away from the gallery.
2929

3030
To select an image, click the thumbnail. This embeds the image directly in your source code.
31+
> If the image provider doesn't support embedding, clicking the thumbnail will download the image instead.
3132
3233
To download the image to your project instead, click the **Download image** button. Phoenix Code downloads the image, saves it to the selected folder, and automatically updates the `src` attribute.
3334

34-
> If this is your first time selecting an image, Phoenix Code prompts you to choose a folder where images should be saved. See [Folder Selection Dialog](#folder-selection-dialog) for details.
35-
36-
> If the image provider doesn't support embedding, clicking the thumbnail will download the image instead.
35+
> If this is your first time selecting an image, Phoenix Code prompts you to choose a folder where images should be saved. See [Folder Selection Dialog](#folder-selection-dialog) for details.
36+
37+
> Images are embedded or downloaded at the currently selected size. See [Image Size Selection](#image-size-selection) for details.
3738
3839
Below each thumbnail, the photographer's name and a link to their profile is displayed.
3940

@@ -43,7 +44,10 @@ Below each thumbnail, the photographer's name and a link to their profile is dis
4344

4445
## Selecting from Device
4546

46-
Click the **Select from device** button at the top of the gallery to choose an image from your local files.
47+
Click the **Select from device** button at the top of the gallery to choose an image from your local files.
48+
If no folder has been selected yet, Phoenix Code prompts you to choose where the image should be saved.
49+
50+
<!-- TODO: add image showing the select from device button -->
4751

4852
---
4953

@@ -61,3 +65,23 @@ The dialog includes:
6165
<!-- TODO: add image showing the folder selection dialog -->
6266

6367
To change the saved folder later, click the **Folder Selection** button *(folder icon)* in the Image Gallery header.
68+
69+
---
70+
71+
## Image Size Selection
72+
73+
The Image Gallery includes a **Size Selector** that lets you choose the resolution of the image before embedding or downloading it.
74+
Hovering over a thumbnail displays the estimated file size in the top-right corner.
75+
> Higher resolutions produce larger image files. Standard (1080px) is the default size.
76+
77+
### Available Image size options
78+
* Thumbnail (200px)
79+
* Avatar (320px)
80+
* Card (640px)
81+
* Content (960px)
82+
* Standard (1080px)
83+
* Hero (1280px)
84+
* Banner (1600px)
85+
* Retina (2200px)
86+
87+
<!-- TODO: add image showing the image size selection and the image space in the thumbnail -->

docs/07-Pro Features/03-measurements.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ To enable measurements, click the **mode selector dropdown** in the Live Preview
2222

2323
Alternatively, you can enable measurements from the **More Options** menu *(three-dots icon)* in the Tool Box. Select **Show Measurements** to toggle it on or off.
2424

25-
You can also change this setting by updating the `livePreviewShowMeasurements` preference in the preferences file. Set it to `true` or `false` (default). See [Editing Preferences](../editing-text#editing-preferences) to learn how to edit the preferences file.
25+
You can also change this setting by updating the `livePreviewShowMeasurements` preference in the preferences file. Set it to `true` or `false` (default).
26+
See [Editing Preferences](../editing-text#editing-preferences) to learn how to edit the preferences file.

0 commit comments

Comments
 (0)