Image processing parameters
Optionalurl?: stringSource image URL to process
Optionalwidth?: numberTarget width in pixels
Optionalheight?: numberTarget height in pixels
Optionalquality?: numberImage quality (0-100, higher is better quality but larger file size)
Optionalformat?: stringOutput image format (e.g., "webp", "jpeg", "png")
Signed Thumbor URL for the processed image
Generates a Thumbor-processed image URL with specified dimensions and quality settings.
This function creates optimized image URLs for responsive images throughout the application. It uses smart cropping to maintain the focal point of images when resizing, and supports modern image formats like WebP for better performance.
The function connects to the ICJIA Thumbor service using a security key from environment variables to generate signed URLs that prevent unauthorized image manipulation.
Example
Example