How do I embed a Google Drive folder onto my website?
The first thing you need to do is create a shared folder in your Drive.
1. In Google Drive, select the NEW button. Create and name a new folder.
2. Click once on the folder to select it in blue.
3. Click on the Share button. (It looks like a person's profile.)
3. Click on the Share button. (It looks like a person's profile.)
4. Select the Advanced link in the lower-right corner of the Sharing box.
5. Click the Change link in the Who Has Access section.
6. Change the link sharing to On - Public on the web. Press Save.
7. Open the folder in your Drive. Look at the URL. I will look something similar to this:
https://drive.google.com/drive/folders/0Bx-PSStnjAPvX3BZZGpSQ05zdlE
8. The bold part of the above URL is the unique folder ID. You will need that later.
9. Decide if you want the folder to be displayed on your website in a Grid View or a List View. In a Grid View, the user sees the folder and file icons. In a List View they just see the file names.
Grid View
If you want to display your folder in a Grid View, you will want to highlight and copy this code, substituting FOLDER-ID with your actual folder ID. Make sure you include no spaces in the code.
<iframe src="https://drive.google.com/embeddedfolderview?id=FOLDER-ID#grid" style="width:100%; height:600px; border:0;"></iframe>
<iframe src="https://drive.google.com/embeddedfolderview?id=FOLDER-ID#list" style="width:100%; height:600px; border:0;"></iframe>
You are now ready to add the folder to your teacher website! Log into the editing mode of your teacher website. Once you are on the page you want to edit, click the HTML option at the bottom of your window. (See image below.) Paste your copied code at the bottom of the HTML text. After you save your webpage, open it and view it. Your embedded Google Drive folder should now be displaying in your website. This folder is live and will instantly display new files as you add them in your Drive.
I recognize that some of the technical details may be a little daunting, but if you follow these instructions, you shouldn't go wrong. Let me know if you hit any bumps in the road or want me to help you implement this on your website.
List View
If you want to display your folder in a List View, you will want to highlight and copy this code, substituting FOLDER-ID with your actual folder ID. Make sure you include no spaces in the code.<iframe src="https://drive.google.com/embeddedfolderview?id=FOLDER-ID#list" style="width:100%; height:600px; border:0;"></iframe>
You are now ready to add the folder to your teacher website! Log into the editing mode of your teacher website. Once you are on the page you want to edit, click the HTML option at the bottom of your window. (See image below.) Paste your copied code at the bottom of the HTML text. After you save your webpage, open it and view it. Your embedded Google Drive folder should now be displaying in your website. This folder is live and will instantly display new files as you add them in your Drive.
I recognize that some of the technical details may be a little daunting, but if you follow these instructions, you shouldn't go wrong. Let me know if you hit any bumps in the road or want me to help you implement this on your website.



