Install and connect the Spronta WordPress plugin.
Installation
Requirements
- WordPress 6.0 or later
- PHP 8.0 or later
Install
From the WordPress plugin directory
- Go to Plugins → Add New in your WordPress admin
- Search for "Spronta Images"
- Click Install Now, then Activate
Manual upload
- Download
spronta-images.zip - Go to Plugins → Add New → Upload Plugin
- Choose the zip file, click Install Now, then Activate
Connect
- Go to Settings → Spronta Images
- Paste your API key from app.spronta.com (Project Settings → API Keys)
- Click Connect
That's it. Every image on your site is now served through the Spronta CDN.
Verify it's working
View the source of any page on your site. Image URLs should now point to cdn.spronta.com instead of yoursite.com/wp-content/uploads/.
Before:
<img src="https://yoursite.com/wp-content/uploads/2024/hero-1024x683.jpg" />
After:
<img src="https://cdn.spronta.com/your-project/hero.jpg?w=1024&q=medium" />