← All Templates

Dynamic Image Resizer

Resize images dynamically by width/height, aspect ratio and fill modes using Rest API and integrations

Template Meta

TypeSupported FormatsSupported Types
Library Template
png
jpg
jpeg
webp
pdf
base64
url
binary

Integrations

Automate this template using integrations

Figma

Figma

Rest API

Rest API

Signed URLs

Signed URLs

Backend Usage

You can generate Dynamic Image Resizer renders using Rest API and Orshot SDKs

Modifications

You can customize the template using following modifications

KeyDescriptionType
imageUrl
URL of the image to resize
string
aspectRatio
Aspect ratio for the resized image
string
width
Width of output image in pixels
number
height
Height of output image in pixels
number
resizeType
How the image should be resized to fit the container(cover: cover available space, contain: fit in available space, fill: fill available space)
select
padding
Padding around the image in pixels
number
backgroundImageUrl
Link to background image
string
backgroundColor
Hex or CSS color of background
string
backgroundPosition
Position of background image
string
backgroundBlur
Blur amount for background image in pixels
number
Dynamic Image Resizer

More Templates