-
Notifications
You must be signed in to change notification settings - Fork 7
[Spec] Change Image Pop‐up
Nguyen Truong Nhan edited this page Jul 17, 2023
·
2 revisions
- Users can select an image and save to change image here
Site position | Header -> My course |
---|---|
Screen | ![]() |
- Item 1: Upload image label
- Item 2: Image preview
- Item 3: Save button
- Item 4: Cancel operation
- Item 5: Choose image error - this field is hidden by default
- Click item 1 to navigate to file uploader, choose the image you wish
- Item 2 will show the image, users can preview the image here
- Click item 3 to save
- Click item 4 to cancel, turn off the pop-up
Error code | Error Message | Occur Condition | Note |
---|---|---|---|
CHANGE_IMAGE_001 | Wrong file type - jpg, png, jpeg only | When users upload a file that has wrong file extension | |
CHANGE_IMAGE_002 | File too large, file size lower than 4MB only | When users upload a file that's too large |