Postgis DCIM folder is not located

I was able to access postgis data to and fro to QFIELD Cloud. Postgis tables do show a link to captured image as DCIM/…jpeg.
But I was not able to locate any folder as DCIM on my postgis server. Neither those images are stored on the QFIELD CLoud.
Any help is appreciated.


Imported from GitHub discussion by @MonikaShah on 2022-08-29T16:56:07Z

I am not sure what is the relation between PostGIS and your DCIM directory. Please share your username/project combo, so we can try to guess what you are asking.


Imported from GitHub comment by @suricactus on 2022-08-30T09:06:41Z

Postgis layer has an attribute called photo whose widget type is attachment.
Wanted to know where these clicked photos are shared in postgis layer . The
data is stored like DCIM/… jpeg

username- jitendra
Organization - communitygis
Project- Prabhag70_KW

On Tue 30 Aug, 2022, 2:36 PM Ivan Ivanov, @.***> wrote:

I am not sure what is the relation between PostGIS and your DCIM
directory. Please share your username/project combo, so we can try to guess
what you are asking.


Reply to this email directly, view it on GitHub
https://github.com/opengisch/QField/discussions/3268#discussioncomment-3507071,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA76P5JKVLJSCUHZUV7SQW3V3XFKXANCNFSM576QACPQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Imported from GitHub comment by @MonikaShah on 2022-08-30T17:10:00Z

I also have the same problem. If I work offline (export data from postgis to gpkg) i can store photos at the DCIM folder, case i work online, directaly to postgis, i can not store photos at DCIM, even if i creat the folder manually.


Imported from GitHub comment by @pedromap on 2022-09-28T16:20:36Z

Is this only cloud issue? Can you try with cable export of the project?


Imported from GitHub comment by @suricactus on 2022-10-08T22:01:20Z

Dear sir
This issue occurs when we have Remote postgis db on cloud. Data sync
properly happens but the images clicked does not go to remote db location.
No folder named DCIM is created, neither the photos get stored if we
manually make DCIM folder there. In short, data sync is happening properly
but images are not getting transfered.

On Sun 9 Oct, 2022, 3:31 AM Ivan Ivanov, @.***> wrote:

Is this only cloud issue? Can you try with cable export of the project?


Reply to this email directly, view it on GitHub
https://github.com/opengisch/QField/discussions/3268#discussioncomment-3830731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA76P5KT4ENMOVNBPTM7KCLWCHVLZANCNFSM576QACPQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Imported from GitHub comment by @MonikaShah on 2022-10-09T06:57:28Z

I am still unable to reproduce.

  1. I have crated a single postgis point layer with the password saved within the .qgz file and action set to “Offline editing”.
  2. This layer has single text field with widget “Attachment” and view “Image”.
  3. Uploaded the project to the cloud.
  4. Downloaded the project to the device.
  5. Created a new point with an attached image.
  6. Pushed changes from QField.
  7. The point appears on QFieldCloud and the file is accessible in the Files page too.

Please retry yourself or attach a super simple project that reproduces the issue.


Imported from GitHub comment by @suricactus on 2022-10-10T08:06:57Z