Add custom image pages and browser uploads #338

Open
pitiChs10 wants to merge 1 commit from pitiChs10/custom-image-widget into dev
pitiChs10 commented 2026-09-16 17:11:09 +00:00 (Migrated from github.com)

Add a Custom Images widget that displays JPEG images across the five screens. Support up to 100 consecutive complete pages, configurable automatic rotation (0 disables rotation), and a short middle-button press to advance pages. The widget is off by default and can be enabled in the web configuration.

Add a Custom Images page to the Wi-Fi portal with previews, crop-to-fill or fit-with-black-margins options, and browser-side conversion to 240x240 JPEG before uploading to LittleFS. Refresh the active image widget after uploads. Use screen_1.jpg through screen_5.jpg for page 1 and page_N_screen_S.jpg for later pages.

Document usage, add local-image copying to the LittleFS build, and ignore additional local widget images. Include five sample copies of the existing project startup logo as the first image page.

Validation:

  • PASS: platformio run -d build/custom-image-pr-review -e infoorbs-v0_3 (upstream defaults, no personal config or photos; before adding sample assets).
  • PASS: git diff --cached --check.
  • Hardware interaction and browser upload behavior have not been tested in this session.
Add a Custom Images widget that displays JPEG images across the five screens. Support up to 100 consecutive complete pages, configurable automatic rotation (0 disables rotation), and a short middle-button press to advance pages. The widget is off by default and can be enabled in the web configuration. Add a Custom Images page to the Wi-Fi portal with previews, crop-to-fill or fit-with-black-margins options, and browser-side conversion to 240x240 JPEG before uploading to LittleFS. Refresh the active image widget after uploads. Use screen_1.jpg through screen_5.jpg for page 1 and page_N_screen_S.jpg for later pages. Document usage, add local-image copying to the LittleFS build, and ignore additional local widget images. Include five sample copies of the existing project startup logo as the first image page. Validation: - PASS: platformio run -d build/custom-image-pr-review -e infoorbs-v0_3 (upstream defaults, no personal config or photos; before adding sample assets). - PASS: git diff --cached --check. - Hardware interaction and browser upload behavior have not been tested in this session.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin pitiChs10/custom-image-widget:pitiChs10/custom-image-widget
git switch pitiChs10/custom-image-widget

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch dev
git merge --no-ff pitiChs10/custom-image-widget
git switch pitiChs10/custom-image-widget
git rebase dev
git switch dev
git merge --ff-only pitiChs10/custom-image-widget
git switch pitiChs10/custom-image-widget
git rebase dev
git switch dev
git merge --no-ff pitiChs10/custom-image-widget
git switch dev
git merge --squash pitiChs10/custom-image-widget
git switch dev
git merge --ff-only pitiChs10/custom-image-widget
git switch dev
git merge pitiChs10/custom-image-widget
git push origin dev
Sign in to join this conversation.
No description provided.