Install
Install the unlocked package, then put the component on a Flow screen.
1) Install the package
Section titled “1) Install the package”| Org | Install link |
|---|---|
| Production | Loading install links… |
| Sandbox | Loading install links… |
On the install screen, choose Install for All Users, then click Install.
After install, Flow Builder shows the screen component as Image Upload Enhanced. The Apex action is Save Content Version.
2) Add it to a Screen Flow
Section titled “2) Add it to a Screen Flow”- Open or create a Screen Flow.
- Add a screen.
- Drag Image Upload Enhanced onto that screen.
- Set the size, compression, and preview.
- Store the screen outputs, or map them to variables, so a later step can save the file.
lightning/mediaUtils needs an org on API 57.0 or newer. That is what resizes the image in the browser.