Image Service
Migration from the previous version
To migrate from the previous version of the Storyblok Image Service, implement the following changes:
- Use
a.storyblok.com
(or the region-specific domain based on the location of your Storyblok space) instead ofimg2.storyblok.com
. - Append
/m
. - Append (rather than prepend) any filter operations.
- When using a custom domain to serve assets stored in Storyblok, forward the
accept
header from your CloudFront distribution.
Example
Example using the previous version of the Storyblok Image Service
https://img2.storyblok.com/200x0/filters:format(png)/f/39898/3310x2192/e4ec08624e/demo-image.jpeg
Example using the current version of the Storyblok Image Service
https://a.storyblok.com/f/39898/3310x2192/e4ec08624e/demo-image.jpeg/m/200x0/filters:format(png)