@codefast/image-loader
Version:
Simple, functional image loader for Next.js supporting multiple CDN providers
13 lines (12 loc) • 326 B
TypeScript
import type { ImageLoaderProps } from "next/image";
/**
* Gumlet URL transformation
* Handles Gumlet CDN
*
* @example
* ```text
* https://example.com/image.jpg
* → https://example.com/image.jpg?format=auto&w=800&q=80
* ```
*/
export declare function gumletLoader({ quality, src, width }: ImageLoaderProps): string;