Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
IMGIX_ADD_ASSET_FROM_ORIGIN
IMGIX_ADD_ASSET_FROM_ORIGINTool to queue a path from your origin to be added to the Asset Manager. Imports the asset metadata without uploading the asset itself. Use when you need to register an existing origin-hosted file with imgix.
Imgix Auto Optimization
IMGIX_AUTOApply automatic image optimizations using imgix's auto parameter. Use this tool to automatically optimize images for web delivery. Common use cases: - Reduce file sizes with 'compress' for faster page loads - Auto-select modern formats (AVIF/WebP) with 'format' based on browser support - Enhance image quality with 'enhance' (adjusts brightness, contrast, saturation) - Remove red-eye from portrait photos with 'redeye' Multiple options can be combined (e.g., ['compress', 'format']) for cumulative optimizations. The 'true' option is a convenient shorthand that applies 'enhance' automatically. Note: This tool works with the imgix Rendering API and requires a valid imgix source domain. For testing, use 'assets.imgix.net' with paths like 'examples/kingfisher.jpg'.
Blend Overlay
IMGIX_BLENDTool to overlay an image, text, or color onto a base image using imgix blending parameters. Use after specifying the base image URL and blend parameters to composite layers.
Imgix Blend Align
IMGIX_BLEND_ALIGNTool to align the overlay relative to the base image when blending. Use after constructing a base Imgix URL to specify horizontal and vertical alignment (e.g., 'left,top').
Blend Color Over Image
IMGIX_BLEND_COLORConstruct an image URL with a solid color overlay using a CSS keyword or hex color. Optional blend mode and alpha settings can also be added.
Imgix Blend X Position
IMGIX_BLEND_XPosition an overlay image horizontally on a base image using imgix's blend-x parameter. Use this tool when you need to place an overlay (image or color) at a specific horizontal offset from the left edge of the base image. This is useful for creating watermarks, badges, or composite images where precise positioning is required. Note: The blend-x parameter only affects image overlays. Color overlays always cover the entire image regardless of this setting.
Draw Image Border
IMGIX_BORDERTool to draw a border around an image. Use when you need to overlay a border without resizing.
Adjust Image Brightness
IMGIX_BRITool to adjust image brightness. Use when you need to modify an image's brightness level (−100 to 100) by supplying your source domain and asset path.
IMGIX_CANCEL_UPLOAD_SESSION
IMGIX_CANCEL_UPLOAD_SESSIONTool to cancel an Imgix Asset Manager upload session. Use when you need to abort an in-progress or abandoned upload flow and clean up the session.
IMGIX_CH
IMGIX_CHFetch an Imgix image with selected Client Hints options for Width, DPR, or Save-Data and return it as a downloadable file.
IMGIX_CLOSE_UPLOAD_SESSION
IMGIX_CLOSE_UPLOAD_SESSIONTool to close an Imgix Asset Manager upload session after the client uploads to the presigned URL. Use after uploading a file to expedite asset processing. Closing is strongly recommended by imgix.
Adjust Image Contrast
IMGIX_CONTool to adjust image contrast. Use when you need to modify an image's contrast level (−100 to 100).
IMGIX_CREATE_IMGIX_SOURCE
IMGIX_CREATE_IMGIX_SOURCETool to create and deploy a new imgix Source. Use when you need to add a new image source with deployment configuration for S3, Web Folder, Web Proxy, GCS, Azure, or S3-compatible storage. Requires source name and deployment details with type-specific credentials and settings.
IMGIX_CREATE_UPLOAD_SESSION
IMGIX_CREATE_UPLOAD_SESSIONTool to create an Imgix Asset Manager upload session and return a presigned URL for client-side upload. Use when you need to upload a new image to a storage-backed imgix Source without requiring external hosting. Client performs HTTP PUT of file bytes to the presigned URL, then calls IMGIX_CLOSE_UPLOAD_SESSION to finalize.
IMGIX_CS
IMGIX_CSTool to set or strip output color space/profile on an Imgix image. Use when optimizing compatibility and file size (e.g., cs=strip for smaller metadata).
IMGIX_DL
IMGIX_DLDownload an asset from an Imgix source with optional custom filename. Use this tool when you need to: - Download images or assets from an Imgix CDN source - Force a specific download filename (via 'dl' parameter) - Download assets with special character filenames (via 'dl64' parameter) The asset is fetched from the Imgix CDN and returned as a downloadable file reference. If neither 'dl' nor 'dl64' is specified, the original filename from the path is used.
Adjust Image DPI
IMGIX_DPITool to embed DPI (dots-per-inch) metadata for print output on an Imgix-rendered image. Use when preparing images for print to set accurate DPI. Supports JPEG and PNG only.
Set Device Pixel Ratio
IMGIX_DPRTool to set device pixel ratio for an Imgix image. Use when rendering at specific display densities to ensure correct sharpness. Example: 'dpr=2&w=500&h=300' doubles resolution relative to dimensions.
Imgix URL Expiration
IMGIX_EXPIRESTool to append an expiration parameter to an Imgix URL so it returns 404 after a given time. Use when you want the image URL to stop serving beyond a specific UNIX timestamp.
IMGIX_FIT
IMGIX_FITTool to control how an image fits target dimensions after resizing. Use when specifying width, height, and fit behavior.