
This plugin lets authorized WordPress users import images from Google Drive directly into the standard Media Library. After import, files are normal local WordPress attachments.
Free (this plugin): bring-your-own (BYO) Google credentials
You create a Google Cloud project and paste (in Media Google Drive Import, or via constants in wp-config.php):
- OAuth Client ID (Web application) —
KFX_GDRIVE_CLIENT_ID - Google Picker API key —
KFX_GDRIVE_PICKER_API_KEY - App ID (Google Cloud project number) —
KFX_GDRIVE_APP_ID
Sign-in uses Google Identity Services in the browser. Do not put the OAuth client secret in WordPress. Kodefix does not host OAuth for the Free plugin. Credentials set in wp-config.php appear masked in the admin UI.
Pro (optional addon)
The main benefit of Pro is simpler setup: with an active Kodefix Store license you connect Google Drive without creating a Google Cloud project. Enter the license key under Media Google Drive Import, or define KFX_GDRIVE_PRO_LICENSE_KEY in wp-config.php. Pro also adds resize, filename normalization, ALT from filename, and content-hash duplicate detection.
External services
This plugin connects to third-party services to import images from Google Drive.
Google Identity Services, Google Picker, and Google Drive API
Used to sign in with Google, browse and select image files, and download those files into the WordPress Media Library. Scope: https://www.googleapis.com/auth/drive.file only (files you explicitly pick).
When you import:
- In the browser, Google Identity Services and Google Picker receive your OAuth Client ID (Free) and the selected file metadata (ID, name, MIME type, size).
- Your WordPress server then requests file bytes from the Google Drive API (
www.googleapis.com) using a short-lived Bearer access token and the selected file IDs. The token is not stored permanently.
This service is provided by Google: Privacy Policy · Terms of Service.
Your Google Cloud project (Free)
You configure your own OAuth Client ID, Picker API key, and App ID under Media Google Drive Import (or via KFX_GDRIVE_* constants). Kodefix does not receive Google tokens or file contents on the Free import path.
Kodefix hosted Google sign-in (Pro only, licensed)
With an active Kodefix Store license, the optional Pro addon can use Kodefix hosted Google sign-in so you do not need your own Google Cloud project. It temporarily processes session/installation identifiers and the WordPress site origin to complete Connect. File contents are never sent through Kodefix servers — downloads still go from Google Drive to your WordPress site. The Free plugin does not call this service.
Kodefix Store Terms · Privacy Policy.