Skip to main content
Ship responsive, automatically formatted images without writing CDN URLs by hand. The official @convertly-sh/image package provides a zero-dependency URL builder plus framework-specific adapters.

React

Responsive images, a provider, and typed transform props for React apps.

Next.js

Connect next/image to Convertly with a custom production loader.

Vue

Add responsive CDN images to Vue 3 with a component and composable.

Astro

Build a reusable Astro image component with the core URL builder.

SolidJS

Use reactive image components and a shared CDN provider.

Svelte

Generate optimized image props for Svelte 4 and Svelte 5.

JavaScript and HTML

Build URLs and srcset values in any browser, server, or framework.

Before you integrate

The SDK builds delivery URLs. It does not upload files or read your local project directory. Use a CDN endpoint’s public URL namespace in frontend code, never a secret cvly_... API key. Follow the Image CDN setup guide if you have not created an endpoint or origin yet.

CDN SDK or API SDK?

Use @convertly-sh/image for on-the-fly image delivery, responsive srcset generation, automatic formats, and edge caching. Use an API SDK when you need to convert, compress, trim, remove backgrounds, process, or store files. Many applications use both.

Responsive images and art direction

Learn when to use a framework image component, srcset, or <picture> for breakpoint-specific crops.