Alternatives to Upload Images from Google Forms to Firebase - google-apps-script

I have been trying to determine the best approach to upload images from google forms to firebase. Currently, based on this Google thread, there is currently no way to grab the image.
Is there an alternative to grab an image from the Google Form and upload it to Firebase?

The Link to the upload folder is provided in the Form Editor

Related

How to change the thumbnail of a google drive video?

So for my class I have downloaded, and uploaded documentaries to gdrive I need to analyse. Though when I embed these google drive videos in notion.so (notion doesn't allow html type embeds, and only supports links without styling) the thumbnail will just be a random frame in the video. Is there any google apps script that can change the thumbnail to an image stored on my drive?
I am aware of this, but it is of no luck to me. (I do know that it is not a google as)
Thanks in advance!
In short,
No. At this moment in time the google drive api does not allow changing thumbnails of files, in which google drive provides its own thumbnail.
"If Drive can generate a thumbnail from the file, then it will use the generated one and ignore any you may have uploaded. If it can't generate a thumbnail, it will always use yours if you provided one." - Google Drive for Developers

How to limit image upload option?

I'am trying to limit the option to upload images in a Google Form to images captured by camera only. Basically I'm trying to remove the options "Photo library" and "Browse".
image upload options
I was wondering if using some Google Apps Script could help. Thank you.

How to generate an HTML view in App Script from a Google Sheet

I have a client that uses Google forms to take orders and wants to be able to turn the resulting Sheet into a document of Packing Slips. Being a python person I am currently taking her .tsv and making nice HTML printable docs but want to be able to make a plug-in for her so that on any Sheet of this type she can click "Make Packing Slips" and it either opens a new tab with generated HTML (I'm ok using googles templating) or maybe even convert the HTML into a PDF and save it to her drive? Either way I'd rather design the document all in HTML and CSS rather than trying to make a google doc if at all possible. Is the feasible? Any starting points? Thanks!
You need to learn about Google App Script => https://developers.google.com/apps-script/overview
Then these Links should suffice
HTML Service: Create and Serve HTML
Google Container-bound Scripts for Google App Script (Can not post link for this due to low reputation)

Theory? Upload a File on a Google Form

I am a newbie but have read on this site and others that
1. Google Forms cannot handle File uploads
2. For file uploads, you need a custom HTML form published as a webapp.
But the webapp can only be embedded in a Google Site and not a Google Form.
Can someone explain to me why Google Forms cannot handle file uploads? Why can't a file upload action be triggered by a form event such as filling out a text field with a file name? Or why can't a button on the form launch a custom form that has a file upload button?
Why can't HTML or a Webapp be imbedded within a Google Form? Is it possible to view the source code for a Google Form? I only see the WYSIWYG UI for creating forms and I have seen the scripting in the results spreadsheet of a form only.
Finally:
3. THe education version of Google has a file upload feature on their Forms. How can I get a copy of their source code to study how they did it?
As a last resort, I figured out that a hyperlink to a webapp can be added to a Google Form simply by typing the URL. How do I give the hyperlink a friendlier title like "Click here to upload a file" ?
Thanks in advance for your help!

generating pdf thumbnails in Google Sites

Is there a script that can generate a PDF thumbnail in Google sites. Right now I'm using DocList to fetch the name and size of some PDF files in my Google drive and list them on Google Sites. I would like a script that can generate the pdf thumbail of those files as well.
No, You can not get the file icons programatically. You need to use icon images to display it in UI using UIService or HtmlService. You may check a example by Saqib Ali here. He is uisng UiService and DocList to display the Items in a collection.