Skip to content

Camera not offered as option in Create Item > Photo (Chrome on Android) #512

@westerner0101

Description

@westerner0101

First Check

  • This is not a feature request
  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • I can replicate the issue inside the Demo install.

Homebox Version

v0.17.2

What is the issue you are experiencing?

In Chrome on Android (Chrome v132, Android 15, Pixel 8 Pro), when I click the Photo button in Create > Item/Asset, it only allows me to choose a photo from my phone's gallery, and does not give the option to take a photo with the camera.

The option to use the camera is available on Firefox on Android. I found another post detailing this problem in Chrome and how it can be solved by changing the Photo button as follows:

<input type="file" accept="image/*;capture=camera" />

For a more detailed description of this problem in Chrome and how it can be mitigated, please see https://gist.github.com/danawoodman/4788404bc620d5392d111dba98c73873

I used Chrome remote debugging to change the <input> code locally and it did indeed offer me the camera with that new code.

Please consider changing the Photo button to <input type="file" accept="image/*;capture=camera" /> to solve this problem for affected Chrome/Android users.

Thank you for a great product!

How can the maintainer reproduce the issue?

1: Open Homebox on Android Chrome v132
2: Tap Create > Item / Asset
3: Tap the Photo button, no camera option is offered

Deployment

Docker (Synology)

OS Architechture

x86_64 (AMD, Intel)

Deployment Details

DSM 7.2.2-72806 Update 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions