demobook

ImageKit: URL-based image transformations

Demo summary

The demo shows adding parameters like 'w-500', grayscale, and background blur directly to the image URL to transform the asset in real-time.

Step-by-step

  1. Locate the image URL in the browser or code
  2. Append the 'w-500' parameter to the URL to resize the width
  3. Add cropping parameters to define the aspect ratio without losing image data
  4. Apply visual effects by adding 'grayscale' and 'blur' parameters to the URL string
  5. Add a rounding parameter to the URL to change the image shape

Options

  • Use a blurred version of the image as a background
  • Add text overlays like city names directly via the URL

Tips

  • Use specific cropping parameters if you want to create a square image without any parts being cropped out

Highlights

all of this gets done in real-time directly from the URL

All demos from “ImageKit Demo - Image and video optimizations, transformations, streaming & digital asset management

  1. 2:320:41Automatic format optimization for imagesThe presenter demonstrates how ImageKit automatically converts a JPEG to AVIF or WEBP based on browser support to reduce file size without changing the URL.ImageKitAI Image/Photo Enhancer
  2. 4:270:34URL-based image transformationsCurrentThe demo shows adding parameters like 'w-500', grayscale, and background blur directly to the image URL to transform the asset in real-time.ImageKitAI Photo Editor
  3. 5:010:35Adding text and gradients with Layers APIThe presenter demonstrates using the Layers API to programmatically add gradients and dynamic text overlays on top of a base image via URL parameters.ImageKitAI Photo Editor
  4. 11:230:17AI background removalThe presenter shows the built-in AI tool for quickly removing backgrounds from product images within the DAM interface.ImageKitAI Background Remover
  5. Watch “ImageKit Demo - Image and video optimizations, transformations, streaming & digital asset management” →

AI Photo Editor

  1. 4:270:34URL-based image transformationsCurrentThe demo shows adding parameters like 'w-500', grayscale, and background blur directly to the image URL to transform the asset in real-time.ImageKit
  2. 5:010:35Adding text and gradients with Layers APIThe presenter demonstrates using the Layers API to programmatically add gradients and dynamic text overlays on top of a base image via URL parameters.ImageKit
  3. 43:491:32Chained Image Transformations with ImageKitThe creator demonstrates chaining multiple transformations including width, height, focus, crop, rotation, blur, and grayscale using the transformation prop.Jan Marshal
  4. 47:351:49Overlay Text on ImagesThe demo shows how to use ImageKit's overlay property to programmatically add a 'Subscribe' text badge with custom background and padding to an image.Jan Marshal
  5. 4:170:25Real-time image transformations via ImageKit URLsThe demo shows how to use ImageKit's ready-to-use URLs to apply real-time transformations like resizing and optimization by simply modifying the asset URL.ImageKit