This feature replaces WordPress’s default upload behavior. Instead of uploading your media files to your server, EXMAGE will automatically upload them to a selected third-party CDN. This reduces your server’s storage and workload, speeds up delivery, and improves global performance by serving images from CDN endpoints.
You can choose from 3 supported CDNs:
1. Cloudinary: Cloudinary is a popular image CDN with built-in optimization and transformation features.
Required Credentials:
- Cloudinary API Key
- Cloudinary API Secret
- Cloudinary Cloud Name
- Cloudinary Upload Preset
How to Get These:
- Go to https://cloudinary.com and sign in.
- From the Cloudinary Dashboard under Settings → API, you’ll find:
- API Key
- API Secret
- Cloud Name – shown in Settings → API section
- To create an Upload Preset:
- Go to Settings > Upload > Upload Presets
- Click Add upload preset, configure it, and save.
- Copy the preset name into the EXMAGE setting.
2. Cloudflare: This option uses Cloudflare R2 with direct image delivery via Cloudflare’s CDN.
Required Credentials:
- Cloudflare Account ID
- Cloudflare Access Key
- Cloudflare Secret Key
- Cloudflare Bucket Name
- Cloudflare Public Development URL (URL to access the uploaded media)
How to Get These:
- Log in at https://dash.cloudflare.com.
- Navigate to R2 > Buckets:
- Create a bucket if needed
- Copy the Bucket Name
- Go to My Profile > API Tokens > Create Token:
- Choose “Edit Cloudflare R2 Storage Buckets”
- Save the generated Access Key and Secret Key
- Your Account ID is visible on the Dashboard > Overview page.
- To get the Public Development URL, go to the bucket and check the Settings or Public URL tab.
3. AWS Amazon: Amazon S3 is a powerful and scalable storage service, and EXMAGE can upload directly to your S3 bucket.
Required Credentials:
- AWS Amazon Access Key
- AWS Amazon Secret Key
- AWS Amazon Bucket Name
- AWS Amazon Region Name (e.g., us-east-1)
How to Get These:
- Log in to the AWS Console: https://console.aws.amazon.com/console/home/
- Go to IAM > Users, and create or use an existing user:
- Assign programmatic access
- Attach the AmazonS3FullAccess policy (or a more limited one you define)
- Save the Access Key ID and Secret Access Key
- Go to S3 > Buckets:
- Create a bucket or use an existing one
- Copy the bucket name
- The region name is shown when viewing the bucket (e.g., ap-southeast-1)
After configuring all the required creds, you can upload media to the selected CDN