← Back to docs

Imgix Compatibility

Yes. Small Pics has a built-in Imgix compatibility mode that translates Imgix query parameters automatically. Enable it on any image source and most existing URLs work without changes.

This means many sites can switch from Imgix to Small Pics without rewriting a single URL. Point your DNS at Small Pics, enable Imgix compatibility on the image source in the dashboard, and your existing Imgix URLs keep working.

Which Imgix parameters does Small Pics support?

Imgix Small Pics Status Notes
bgbg
borderborder
padborderMaps to border=<pad>,<bg>,shrink. Transparent background if bg is not set.
bribri
concon
cropfit🟠See crop mapping below.
dprdprSmall Pics max is 8, Imgix max is 5.
fitfitSee fit mapping below.
flipfliphv in Imgix maps to both in Small Pics.
fmfm🟠Small Pics supports: avif, webp, jpg, pjpg, png, gif, jxl.
gamgamSee gamma mapping below.
hh🟠No relative sizes yet.
ww🟠No relative sizes yet.
markmark🟠Relative URLs only. Images can be in different origins.
mark-alphamarkalpha
mark-padmarkpadImgix defaults to 5px.
mark-alignmarkposComma-separated positioning. Both default to bottom-right.
mark-hmarkhRelative positioning maps to <value>h.
mark-wmarkwRelative positioning maps to <value>w.
mark-xmarkxRelative positioning maps to <value>w.
mark-ymarkyRelative positioning maps to <value>h.
mark-fitmarkfitSee markfit mapping below.
orientorEXIF values mapped. See orientation mapping below.
qq
sharpsharp

How do fit values map between Imgix and Small Pics?

Imgix Small Pics
clip (default)contain (default)
maxmax
fillmaxfill
fillfill-max
scalestretch
clampcover / crop
faceareaNot supported
minNot supported

Focal point cropping

When crop is "focalpoint" and fit is "crop", Small Pics maps fp-x, fp-y, and fp-z to fit=crop-<x%>-<y%>-<zoom>.

Directional cropping

When crop is set to a directional value, it maps to fit=cover-<value>:

Imgix Small Pics
topcover-top
bottomcover-bottom
leftcover-left
rightcover-right
left,topcover-top-left
bottom,leftcover-bottom-left
right,topcover-top-right
bottom,rightcover-bottom-right

How does gamma mapping work?

Imgix Small Pics
1 to 1000.1 to < 1.0
-1 to -1001.0 to 9.9

How does orientation mapping work?

Small Pics does not use EXIF values directly. Imgix EXIF orientation values are mapped to Small Pics or and flip parameters.

Imgix Orientation Flip
2-h
3 or 180180-
4-v
590h
6 or 270270-
790v
8 or 9090-
default / 00-

How do watermark fit values map?

Imgix Small Pics
clip (default)contain (default)
maxmax
cropcover
scalestretch

How does watermark positioning map?

Imgix mark-align Small Pics markpos
toptop-right
middleright
bottombottom-right
leftbottom-left
centerbottom
rightbottom-right
left,toptop-left
left,middleleft
bottom,leftbottom-left
center,toptop
center,middlecenter
bottom,centerbottom
right,toptop-right
middle,rightright
bottom,rightbottom-right

Frequently asked questions

Can I switch from Imgix to Small Pics without changing my URLs?
Yes. Enable Imgix compatibility mode on your Small Pics image source and most existing Imgix URLs work without changes. Small Pics translates Imgix query parameters to their equivalents server-side.
Which Imgix parameters does Small Pics support?
Small Pics supports most core Imgix parameters: w, h, dpr, fit, crop, fp-x, fp-y, fm, q, sharp, bri, con, gam, flip, orient, bg, border, pad, and the full set of watermark parameters (mark, mark-alpha, mark-pad, mark-align, mark-h, mark-w, mark-x, mark-y, mark-fit).
Which Imgix parameters are NOT supported?
fit=facearea and fit=min are not supported. Relative sizes for w and h are not yet supported. The mark parameter only supports relative URLs. All other core transform parameters are covered.
How do I enable Imgix compatibility mode?
In the Small Pics dashboard, open your image source settings and enable Imgix compatibility. Once enabled, any request using Imgix query parameters is automatically translated.
Does any other image service offer Imgix parameter compatibility?
Gumlet offers partial Imgix API compatibility. Small Pics and Gumlet are the only two services in the market with built-in Imgix parameter translation. No other major provider (Cloudinary, ImageKit, Cloudflare Images, Bunny, ImageBoss) supports Imgix parameters.
Can I use Imgix compatibility mode with the Imager X plugin?
You can, but you do not need to. The Imager X transformer plugin uses native Small Pics parameters directly. Imgix compatibility mode is most useful for sites that have Imgix URLs hardcoded in templates, a CMS, or a database.