swiftimg

Image hosting for Ghost — offload media to a fast CDN

Ghost stores uploaded images in its own /content/images directory by default. Pushing them to swiftimg gives you a CDN-backed source with on-the-fly resize, useful for migrating between Ghost hosts or running on Ghost (Pro) where storage is metered.

Try swiftimg freeSee the API

Heads-up

Ghost (Pro) has its own CDN; the swiftimg story is strongest for self-hosted Ghost or for content you want to reuse across newsletters and other sites.

Step by step

  1. 1. Get a swiftimg API key

    Sign up and create an API key on /account.

  2. 2. Upload images via the REST API

    From a small Node script or a Ghost custom integration, POST each image to /v1/images and store the returned URL on the post.

    Upload
    curl -F file=@hero.jpg -H "Authorization: Bearer YOUR_KEY" https://swiftimg.com/v1/images
  3. 3. Replace image URLs in the post body

    Run a small migration over `posts` rows to rewrite the in-content image URLs to swiftimg.

Ghost — FAQ

Is there a Ghost integration?

Not officially — but the REST API is small enough to wire from a Ghost custom integration or a server-side hook in a few lines of JS.

Will Ghost's own image-resize work?

Ghost generates size variants for in-content images via a request-time resize. With swiftimg, resize happens on the CDN instead.

Can I keep some images in Ghost's content/images?

Yes — mix and match. New posts can push to swiftimg, older posts can stay where they are.

See also

Ready to host your Ghost images?

Start free, then unlock the full API, transforms, signed URLs, and a custom domain on the Developer plan.