Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
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'.
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_CH
IMGIX_CHFetch an Imgix image with selected Client Hints options for Width, DPR, or Save-Data and return it as a downloadable file.
Adjust Image Contrast
IMGIX_CONTool to adjust image contrast. Use when you need to modify an image's contrast level (−100 to 100).
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.
IMGIX_FM
IMGIX_FMTool to choose output file format for the rendered asset. Use after specifying the asset path when you need to convert its format.
Force Aspect Ratio
IMGIX_FORCE_ASPECT_RATIOTool to force a target aspect ratio on an Imgix image. Use when a specific W:H frame is needed after choosing fit=crop or fit=fill. Example: 'ar=16:9&fit=crop&w=800' yields a 16:9, 800px-wide URL.
IMGIX_GET_SOURCE
IMGIX_GET_SOURCETool to retrieve details for a single imgix Source by its ID. Returns the source configuration including deployment status, type, and settings.
IMGIX_GET_UPLOAD_SESSION_STATUS
IMGIX_GET_UPLOAD_SESSION_STATUSTool to retrieve the status of an Imgix Asset Manager upload session. Use when you need to check the current state (PENDING/CLOSED/COMPLETE/CANCELED) of an upload session for polling or verification after client PUT and/or after closing.
IMGIX_H
IMGIX_HFetch an Imgix image with its output height set in pixels or as a ratio of the source height. Returns the rendered image as a downloadable file.
Adjust Image Highlights
IMGIX_HIGHTool to adjust highlight tonal mapping (−100 to 0). Use when preserving detail in bright areas of an image.
IMGIX_LIST_ASSETS
IMGIX_LIST_ASSETSTool to retrieve a paginated list of assets in an imgix Source. Use when you need to list, filter, or search assets with cursor-based pagination and sorting.
IMGIX_LIST_REPORTS
IMGIX_LIST_REPORTSRetrieve a list of available reports for an Imgix account, with optional filters and sorting, for access to analytics and usage information.
IMGIX_LIST_SOURCES
IMGIX_LIST_SOURCESTool to list all Sources for an account. Use when you need to retrieve and paginate through sources with optional sorting and filtering.