Hi, my project is a layer with a lot of georeferenced “points of interest” in a French village. I have some pictures for each of them. An other layer no georeferenced have a field to join the points layer and another field with the path of the picture(s) of a point. A Project relation organizes this One to Many.
Sorry for my poor english language!
A Form with a field type “open existing file” opens correctly this picture(s) in QGIS, but with QFIELD only the hyperlink (path) appears on the form and I have to click on to really open and see the picture. Did someone have an idea for better (quicker) result? Thanks a lot.
Hi @Pierwep modifier vos paramètres dans le formulaire d’attribut pour afficher l’image à l’intérieur de votre formulaire
Layer properties > Attribute form> Drag and Drop Designer > find your image field> Change type to Attachment Image configuration
Hi Beanzmo ! Thank you so mutch four your answer : you rescue me! My error wasn’t in the Integrated Document Viewer (it was good for me), but the solution was on your screen copy : my “Use a hyperlink for document path“ was checked and it was my error. So thank you infinitely, it was for me a big problem for a lot of weeks.
I have a new question about this
With QGIS i have this form
A clic on one path shows the picture. It’s perfect.
But with QFIELD, the same form shows only 4 links (but scrollable), and shows only the path and no picture. A clic on a path shows the picture on an other window and you have to close this window to choose another picture. It’s onfortunately not so easy than with QGIS. Perhaps a new solution??
following : click on a link left screen shows picture on another window whitch hide the left screen
Have a closer look at the documentation @Pierwep
Most of your questions can be answered with that : Configuring max items visibility
Merci encore Beanzmo, en suivant tes conseils j’ai bien pu augmenter le nombre d’items affichés dans le cas d’une relation one to many (one object / many pictures via lien hypertext), relation décrite dans les propriétés du projet.
Je reste avec la question de l’affichage des photos dans le cas d’utilisation de cette relation dans un onglet d’un formulaire :
- Sous QGIS, un clic sur l’identifiant d’une photo ouvre directement la photo dans le même onglet, à droite de la liste, ce qui est très pratique; cliquer sur un autre lien ferme la photo précédemment affichée et ouvre celle qu’on vient de sélectionner.
- Sous QFIELD, le clic ouvre une nouvelle fenêtre avec la photo en petit format, un nouveau clic sur cette photo l’ouvre en plus grand, et il faut ensuite fermer la grande photo puis la petite avant de pouvoir sélectionner une autre photo, ce qui est beaucoup moins pratique que sous QGIS. Je n’ai pas encore trouvé de solution pour que l’image s’ouvre dans le même onglet comme sous QGIS. Je continue de chercher! Si quelqu’un a une idée…