How to display images from Google form ? 1) ...

How to display images from Google form ?

  1. My Appsheet works with Google form where people upload their profile pics.

  2. My excel sheets from Google form only display the google link of the image but not the image itself finishing with the".pnj" or โ€œ.jpgโ€

  3. My question :

Is there a mean to display images as a gallery on my App with Appsheet ?

Link of my App : https://www.appsheet.com/start/a0638b03-5e2a-4a0d-8089-cab8b5d45f0d

0 30 4,776
30 REPLIES 30

Bonjour, le meilleur moyen est de crรฉer un champ image et dโ€™uploader les photos via lโ€™app. Prendre un lien depuis Drive pour afficher une image nโ€™est pas possible โ€ฆ Translate

Merci Arnaud, oui du coup cโ€™est assez contraignant car รงa veut dire que je dois faire รงa un par un pour le coup :s c une erreur de mon cรดtรฉ car google form peut รชtre transmis direct sur lโ€™appsheet mais comme jโ€™ai dรฉjร  une base de donnรฉes dessus รงa voudrait dire quโ€™il faut que je redรฉmarre de 0 ? Translate

Comment envoyez vous les photos ? Je ne vois pas de bouton ajout dans appsheet ? Faudrait me rajouter en co auteur afin que je regarde dans lapp Translate

Tout est dans Google Form, les utilisateurs rajoutent leur photo le formulaire, et forcรฉment, je reรงois le lien google de ces images mais pas avec la terminaison .png, .jpg, etc.

ok pour vous rajouter comme co-author ! jโ€™ai besoin dโ€™une adresse email

lol jโ€™arrive pas ร  rรฉcupรฉrer le votre de lร  ร  vrai dire

Translate

Ok je vous le problรจme. En fait faudrait essayer de voir si on peut uploader lโ€™image diffรฉremment. Donnez moi votre mail. Translate

Merci Arnaud, oui exactement en tout cas jโ€™essaie de trouver ce moyen mais je nโ€™ai aucune idรฉe comment le faire

mon email c : ilansarbac@gmail.com Translate

Bonsoir,

Je peux toujours essayer de le faire moi-mรชme autrement, si je peux avoir les indications et voir comment je peux rรฉparer รงa ?

Translate

Sans voir concrรจtement le problรจme et la configuration, je ne pourrai dire Translate

mon email cโ€™est : ilansarbac@gmail.com, il faudrait autrement que jโ€™ai le votre pour vous ajouter comme co-auteur ? Translate

Je vous ai ecrit avec mon mail depuis deux jours. Translate

@Arnaud_B Je nโ€™ai pas accรจs ร  votre mail, seul votre nom apparait, le seul mail qui mโ€™apparait est un "reply-to...@plus.google.com", Translate

Non modifiรฉ le champ URL en image puis sur chaque profil, upload de la photo via le form de appsheet. Translate

Merci Arnaud,

Cโ€™est quoi la formule pour avoir directment le champ URL de lโ€™image ?

Translate

Bonsoir, Je cherche toujours la solution ร  ce sujet pour le coup, car je nโ€™ai aucune idรฉe pour les images en rรฉalitรฉ

Translate

Il faut aller dans la configuration des colonnes et modifier votre type qui est URL en IMAGE. Ensuite via lโ€™app vous pourrez uploader directement la photo. Translate

Merci Arnaud pour ce retour,

En soit tu as raison cโ€™est ce quโ€™il faut jโ€™ai lโ€™impression mais les images ne sโ€™affichent pas, sans doute un pb au niveau de la configuration des images uploadรฉs ?

Translate

Il faudrait voir la configuration des droits dans appsheet. Soit on gรจre les droits directement sur les fichiers dans le Drive, soit on laisse appsheet gรฉrer. Translate

Merci Arnaud

Sur Drive, jโ€™y ai mis le moins de restriction possible sur lโ€™accรจs aux photos (Je les ai mis en public), je pourrai les rรฉgler sur appsheet ?

Translate

Jโ€™ai checkรฉ sur google Drive, le dossier contenant les images sont accessibles en โ€œpublic non รฉditableโ€

Comment puis-je rรฉgler le problรจme pour afficher les images via Appsheet (pour lโ€™instant impossible) ? --> รงa me donne รงa en attendant : Translate

Tuskan
New Member

I am having the same issue, where I am pulling in data from google forms including pictures, docs and a video, however obviously it pulls in as a drive link as opposed to the actual static image. I followed previous comments on having to make the link shareable however the images, docs and video all come up with broken views on AppSheet. I checked and the links contain the โ€œview?usp=sharingโ€, so it should be working, I tested an image straight from google which worked. Is there no way to pull in images/files from google forms that display in AppSheet, that do not individually have to be edited to be shared links, as the incoming data in continuous. Any help would be appreciated!

Hi @Tuskan,

I do have many images previously uploaded via google forms and I want to be able to see the image being displayed in AppSheet. To do that, this is what I did:

  1. Create one additional column in the โ€œForm Response 1โ€ sheet.

  2. Keep the header blank and insert google sheet formula typical like this:

={"Appsheet Image"; Arrayformula(IF(M2:M>0,SUBSTITUTE(M2:M,"https://drive.google.com/open?id=","https://drive.google.com/uc?export=view&id="),))}

Its basically creating a header with tittle โ€œAppSheet Imageโ€, replace/substitute the words available in the provided links from google form response (in my case column M).

  1. Regenerate structure in AppSheet editor and make the column type as IMAGE type.

With the above steps, whenever a new image submitted via google form, after sync, we will immediately see the image in AppSheet.

Hi @Heru, thanks for the great explanation above, it correctly converted the text โ€œopen?idโ€ to โ€œview&idโ€, however the images are still coming out as broken on AppSheet, with the triangle symbol and exclamation. Prior to your solution above I went and did it manually, and it did not work.

So at least I can now automatically do it for incoming data, however my issues still lies in the image not working on AppSheet. Again I tested it with images from google, which worked, so it is still a google drive issue. (I did ensure the file format was selected on AppSheet as Image, and when I click on the link (under the new AppSheet column) from excel it correctly opens as an A4 sized image in my browser.)

I have tried JotForm to Airtable to AppSheet, but JotForm does not cater for video file collection(mp4 and amr limitations), so google form is the best so far, however the way it collects and stores the data seems to be the issue.

Please check your setting if it is matching with below sample Iโ€™ve just made:

Please noted that based on my understanding, all image uploaded through Google form will have an automatic link in the google sheet with something like: โ€œhttps://drive.google.com/open?id={Google Image ID}โ€

Please make sure all settings below are OFF:

If all the settings is correct like above, I am sure that it will show the image.

Please provide me with screen shot if you still have issue on this.

I donโ€™t understand from Excel.

This could be something to consider and to adjust strategy based on AppSheet. As in Google forms, it will create a folder where the original google forms is located within Google Drive owned by the owner of the form.

My suggestion, just create a small google forms for testing the above method. After you know it is working (it should), you may adjust your current strategy.

Hi @Heru again thanks for the above! I have checked the above, the only thing that was not correct was the security options, which I adjusted but for some reason they still do not work. I think the issue is still coming down to permissions. As I opened the โ€œAppSheet linkโ€ created by your formula that you provided on a previous post, in a private window and it said I do not have permission to view this file. I have double checked that I am logged into AppSheet with the same gmail account as the one that created the google form. The image that is visible below in the App, I used as litmus test with a link provided from a google search, compared to the other two broken images, that were collected and stored on my google drive.

That is true as one of the google drive permission.

If you really want to make see it including in a private window, you need to share the image folder to public with level:

Or, you can share the folder to those having access to the Appsheet apps.

However, if you upload the image from google form, without doing the above, it should just work.

Alrighty it looks like we have a winner! Thank you so much for your time and help, it is much appreciated @Heru !

@GreenFlux has a great topic about Google Forms, you might want to check it out.

Hi @Heru,

I am doing similar integration of images uploaded via google forms to my AppSheet. But even after following all steps in this article I am still failing to display the pictures in AppSheet from Google Forms.

In my case I have tried an external image in my google-sheet which is read by AppSheet and successfully displayed on the app. Here is the link of this external image and appearance on the app.

3X_1_a_1a6f4c070d0d585e8f02e86a9c3203b8ec392a82.png
The image with green circle correctly displayed by AppSheet.

But Image received in google-drive via google form is not getting displayed in by appsheet, as shown by red circles in the figure above.

Link for google drive image is as follows,

https://drive.google.com/uc?export=view&id=1C4UoXhFBBygOPej-qq1udUvvGWWLMpd1

This link never works with appsheet. But opens correctly if I copy and paste on the browser. And I have an interesting found too which is as follows,

When I try to open google drive image link (which is as follows)

https://drive.google.com/uc?export=view&id=1C4UoXhFBBygOPej-qq1udUvvGWWLMpd1

Then browser successfully opens it, but changes the name of the file as follows,

https://doc-04-84-docs.googleusercontent.com/docs/securesc/0k7orir6fqb6liip6r5onhsodm2h08f8/plu0iono...

So I tried this new changed url in my sheet, and this time appsheet was able to open the picture without issue. But I believe this cannot be done as a practical approach, because we never know what will be new changed link for each google drive image which is received by google form.

I am reading for last two days and trying to fix this issue, but no luck. Appreciate your support here.

My excel sheet columns are as follows,

Thanks in advance.

k86305
New Member

Note:

When I copy paste the link of books picture (which is not from google drive), it is now showing the picture instead of link, but the links of images from google drive are still appearing as links.

Seems something is wrong with my google drive links.

k86305
New Member

Hi all,

Finally I was able to fix the issue. What I did is as follows,

Original link of image file created by google form is as follows,
โ€“>https ://drive.google.com/open?id=1C4UoXhFBBygOPej-qq1udUvvGWWLMpd1

And this link is changed to as follows, which is successfully read and displayed by appsheet.
โ€“>https ://drive.google.com/uc?id=1C4UoXhFBBygOPej-qq1udUvvGWWLMpd1

Note: โ€œOpen?โ€ is changed with โ€œuc?โ€

Plus
1- Changed the google drive foldersโ€™ permission to allow anyone with the link. This is the folder where pictures of google form land by default (same name as google form).
2- Disable security options in AppSheet โ†’ Security โ†’ Options

Top Labels in this Space