Image handling
The image handling area is a place for configuring how the website should process and manage images. It provides control over caching, quality settings, and the behavior when images are missing. Additionally, it allows you to define specific providers for tasks like image conversion, resizing, metadata extraction, and PDF rendering. These settings ensure optimal performance, compatibility, and user experience while handling image-related content across the platform.
Here’s a simple explanation of each setting and what it does:
Settings
Setting | Value | Comment |
---|---|---|
Send 404 header with an alternative image | true/false | When enabled, this setting sends an HTTP 404 header when a requested image is not found. Instead of a blank response, an alternative image is provided to the user |
Cache-control max-age in seconds | int | Specifies how long (in seconds) browsers should cache the images. Default is 604800 seconds(7 days) |
Default webp quality | int | Sets the quality level (out of 100) for WebP image format conversions. Default is 65, which is a balance between quality and files size |
Image providers
This section allows you to choose which image providers you want to use. In most cases, no action is needed, as default providers are selected. However, if you wish to use your own or third-party providers, you can add them to your solution and select them here. The providers are:
- Converter provider
- Size provider
- Attributes provider
- Metadata provider
- Editor provider
- Pdf converter provider
- Pdf renderer provider