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

  1. Go to Plugins → Add New in your WordPress admin
  2. Search for "Spronta Images"
  3. Click Install Now, then Activate

Manual upload

  1. Download spronta-images.zip
  2. Go to Plugins → Add New → Upload Plugin
  3. Choose the zip file, click Install Now, then Activate

Connect

  1. Go to Settings → Spronta Images
  2. Paste your API key from app.spronta.com (Project Settings → API Keys)
  3. 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" />