Image editor pro

Text + sticker overlays, filter presets, EXIF info, and AVIF/WebP output

The inline editor now ships an Overlay tab (drag-and-drop text and a built-in SVG sticker set), an Adjust tab (brightness / contrast / saturation / sepia / grayscale sliders plus one-click presets), an Info button (read-only EXIF: camera, date taken, dimensions, file size), and an output picker that now includes AVIF and WebP with a quality slider. Everything is baked into the saved file entirely client-side.

In the editor: click Overlay to add text/stickers, Adjust for filters, Info for EXIF, then pick a format and Save.

URL-based transforms

Build CDN/server transform URLs with a consistent query-string contract:

// -> '/img/a.jpg?w=400&h=400&fit=cover&format=avif&q=80'
var url = AjaxUploader.transformUrl('/img/a.jpg', {
    w: 400, h: 400, fit: 'cover', format: 'avif', q: 80
});

// Server side: pull the params back out of the request URL
var t = AjaxUploader.parseTransformUrl(url); // { w:400, h:400, fit:'cover', format:'avif', q:80 }
Output formats
  • outputFormat: 'avif' - smallest files; falls back to WebP then JPEG on browsers without an AVIF encoder.
  • outputFormat: 'webp' - broad support; falls back to JPEG on very old Safari.
  • outputQuality: 1-100 - applies to JPEG / WebP / AVIF (ignored for PNG).