While most file types can be served through imgix, not all of them support imgix parameters.
For example, it's not possible to apply a
w=300 parameter on a
Supported file types
File types can be interact with imgix either as input formats or output formats.
An input format is a file that will be accepted by imgix's parameters. You can transform images that is accepted with an input format by using imgix's API (
w=600, for example).
An output format is a file type that imgix can transform any input format into. For example, you can transform a
jpg into a
File type table
|Filetype||Supported as input format||Supported as output format using
Serving other types of assets with imgix
When serving unsupported file types, it's important to not apply any parameters on the URL.
If you have a Source configured with default parameter(s), you can work around this issue by either:
- Serving those assets without using imgix or
- Use a separate Source in order to serve those assets
File specific notes
SVG's can be enabled as an input parameter by contacting email@example.com. If they are not yet enabled for your account, we can pass them through as long as they have a correct XML declaration at the top of the file.