In Cloudimage and Filerobot you can decide in which format (WEBP, JPEG, PNG) to deliver your images using the URL parameter "force_format="
Your images could be delivered in AVIF format as well, in case V7 is implemented, that allows better compression. This feature could be activated upon contacting our support team. It provides synchronous or asynchronous delivery.
There might be scenarios where the image format delivered might not be supported by your system or browser. Example:
http://sample.li/eiffel.jpg?force_format=webp
here the image will be delivered in "webp" format to the client but some browsers do not support webp formats.
For the above scenario you can have fallback image formats by giving multiple comma-separated image formats in "force_format=". Example:
http://sample.li/eiffel.jpg?force_format=webp,jpeg,png
here first .webp will be tried ,if not acceptable then .jpeg, if not acceptable then .png .
The idea is if the first format is not acceptable then it will fallback to the next format and so on.
Note that the function force_format= is only supported in Cloudimage v7 and cannot be used with URLs created with the legacy Cloudimage v6 syntax.
If you need more clarifications feel free to reach out to our Support team mentioning:
- Your token
- Short description of the issue.
Comments
Please sign in to leave a comment.