Many of my customers asked me how they could share files and photos in their websites and save some bandwidth/storage as well.
Here's a quick tip. I hope that helps you to achieve the same goal as them.
- Open the folder in Google Drive that you want to share
- Right-click on it.
- Select the option "Get shareable link"
- Switch the permissions to "Anyone with the link" and set the role to "Viewer"
- Copy the given link
- Extract the folder ID from the URL, like this:
https://drive.google.com/drive/folders/*ABCDEFEG223452345_A12*?usp=sharing
- Copy the ID (e.g: ABCDEFEG223452345_A12)
- Replace the placeholder in code below with the folder ID:
<iframe src="https://drive.google.com/embeddedfolderview?id={{ID_HERE}}#grid" width="100%" height="480"></iframe>
You're done!
Top comments (0)