Data
- Components
- Content
- Image
Image
type: "image"4 styles · 11 propertiesDisplays an image from a URL with object-fit sizing, positioning, borders, rounding and shadows. Swap the URL at render time to personalize every image.
Updated




Try your own data
Change the image here with the same controls the editor shows. The preview updates as you type, and you get the API request for your changes.
4 styles
Pick one to preview itExamples
Each example is the same image with different values. The JSON is what you send.
E-commerce product hero
A wide cover-cropped product photo filling the card, corners rounded.
{
"photo.imageSize": "cover",
"photo.borderRadius": 16
}Article thumbnail with soft shadow
A blog-post thumbnail lifted off the canvas by a deep drop shadow.
{
"photo.borderRadius": 24,
"photo.boxShadow": "0 20px 40px rgba(0,0,0,0.2)"
}Good for
- Product cards that pull each item photo from your catalog URL
- OG images featuring the author avatar or article hero image
- E-commerce promo visuals with the featured product swapped per render
- Certificates and badges stamped with a partner or event logo
New values, every render
Point '<key>.image' at any image URL per render; opacity, borders and padding can be overridden too. Send only the properties you want to change; everything else keeps its design value. The API guides cover every language.
curl -X POST "https://render.imejis.io/v1/$IMEJIS_DESIGN_ID" \
-H "dma-api-key: $IMEJIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"photo.image": "https://picsum.photos/seed/hello/600/600"
}' \
-o image.pngconst res = await fetch(`https://render.imejis.io/v1/${process.env.IMEJIS_DESIGN_ID}`, {
method: "POST",
headers: {
"dma-api-key": process.env.IMEJIS_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
"photo.image": "https://picsum.photos/seed/hello/600/600"
}),
})
if (!res.ok) throw new Error(`render failed: ${res.status}`)
const image = Buffer.from(await res.arrayBuffer())import os
import requests
response = requests.post(
f"https://render.imejis.io/v1/{os.environ['IMEJIS_DESIGN_ID']}",
headers={
"dma-api-key": os.environ["IMEJIS_API_KEY"],
"Content-Type": "application/json",
},
json={
"photo.image": "https://picsum.photos/seed/hello/600/600"
},
)
response.raise_for_status()
with open("image.png", "wb") as f:
f.write(response.content)Properties
Every property works the same in the editor, in design JSON and as an API override.
11 properties shown
| Property | Type | Default | What it does |
|---|---|---|---|
| Data | |||
image | string | — | Image URL (stored on the component's top-level image field; overridable via config). |
| Look | |||
imageSize | 'cover' | 'contain' | 'fill' | 'none' | 'scale-down' | "cover" | How the image fits its box (CSS object-fit). |
imagePosition | string | "center" | Focal point of the image within its box (CSS object-position). |
backgroundColor | color | "transparent" | Background color visible behind/around the image. |
padding | string | "0" | CSS padding between the box edge and the image. |
| Frame | |||
opacity | number | 1 | Overall component opacity from 0 (transparent) to 1 (opaque). |
borderWidth | number | 0 | Border thickness in pixels around the component. |
borderColor | color | "transparent" | Border color (any CSS color). |
borderStyle | 'solid' | 'dashed' | 'dotted' | 'double' | 'none' | "solid" | Border line style. |
borderRadius | number | 0 | Corner radius in pixels. |
boxShadow | string | — | CSS box-shadow applied to the component, e.g. "0 4px 6px rgba(0,0,0,0.1)". |
Image questions
Can I change the image on every API call?
Yes — point '<key>.image' at any publicly reachable image URL in the modifications JSON and each render fetches that image.
How is the image fitted inside its box?
imageSize maps to CSS object-fit (cover, contain, fill, none, scale-down) and imagePosition sets the focal point, so you control cropping precisely.
Can I make circular avatars or rounded thumbnails?
Yes. borderRadius rounds the corners — set it to half the box size for a perfect circle — and border width, color, style and shadows are configurable too.
Where can the images come from?
Any URL the renderer can fetch — your CDN, storage bucket or API. The URL lives on the component and is overridable per render like any other property.
Where the image component fits
Free tools built on it, guides that use it, and the components that sit beside it.