Qfield pictures taken with android phone are not appearing in Qgis!

Hi everyone,

We are working on a site using QField and have encountered an issue with photos taken on Android devices.

Photos captured using iOS devices appear correctly in QGIS and are saved in the expected image storage path. However, photos taken with Android phones are either missing completely or only partially available. On the Android device, the photos are visible within QField, but when the project is opened in QGIS, only the photo file names appear in the attribute table—the actual image files are not present in the designated folder.

When checking the QGIS project on Windows, the Android photos are not visible in the image directory, whereas the iOS photos are.

Has anyone experienced a similar issue, or does anyone know what might be causing this behavior? Any insights or suggestions would be greatly appreciated.

Thanks!

Hello, are you using QFieldCloud, or direct “wire” transfer? In my experience, when you use the latter on android, one tends to design the project with the photos expected to be located on the same folder as the project, at the same level. Whereas on Android, by default, the pictures tend to be saved on a “DCIM” folder inside of the project folder.

Maybe your android photos are being saved on this sub-folder, you can try changing the relative path saved on the layer attribute, or moving the android photos to the configured relative path.

Hi,
I am using QFieldCloud for data transfer. Normally, when I upload photos from QField on my phone, they automatically appear in the QGIS project photo folders after synchronization.

This time, however, there is an issue specifically with photos coming from one Android device. The photos are visible on the phone in QField, but they are not appearing in the QGIS photo directories after syncing. I have checked the project folder and there is no DCIM folder present.

Since photos from this same Android device were syncing correctly as recently as yesterday, it does not seem to be a general Android configuration issue.

If anyone has an idea what could be causing this behavior, I would really appreciate your help. Thanks!

Ooh, I see now. Hmm, some things I think about checking:

  • Are you able to connect this android device by USB to a computer to see where is this device storing the photos? Typically this is something like <drive>:/Android/data/ch.opengis.qfield/files/ (this folder is not usually visible from the phone/tablet, you have to do it from a computer).
  • Is the relative path for the attachment a string field with a Attribute Form defined with some simple settings like:
    • Widget Type: Attachment,
    • Path > Default path: a simple text to define a folder name (and not an expression),
    • Integrated Document Viewer > Type: Image?
    • Double-check that this path is set as relative to project, and not absolute or something else.
  • If it’s something more complex than that, can you share the setup for this field’s form?