It is entirely possible to import files available in a public Google Drive into your media library as external files. However, there are a few things to keep in mind when doing so.
In advance
- Please note the copyrights to the files. If necessary, contact the person who published the files on Google Drive.
- Even if the files are publicly available there, they are included in your media library as external files that are hosted locally. This is due to the access restrictions that still exist on the part of Google Drive despite public files.
Prerequisites
Google Drive allows access to publicly available files in the browser, but neither direct download nor access via API without an API key. You therefore need a Google Drive API key in any case.
Preparations
You need:
- A Google Drive Access Token. The External files for the media library plugin contains a link that you can use to do this quickly.
- The Folder Id of the public Google Drive. This is the sequence of numbers and letters in the URL of the Google Drive directory. It usually starts with „1“.
Procedure
- Go to Media library > External files > Google Drive.
- Enter your Google Drive Access Token in the field.
- Enter the Folger Id in the field below.
- Click on „Show“.
You can then import the files from the directory into your media library.
Leave a Reply