Correct URL for resize images

Some of the pictures in our layout need different sizes, so we are trying to ask our writer to use different urls for different sizes e.g. if https://a.storyblok.com/f/94285/2048x1356/eeeb44170c/test.jpg links to the orginal full size, then https://a.storyblok.com/f/94285/700x300/eeeb44170c/test.jpg should link to resized image.

However that doesn’t seem to work; The only things we got it to work is using the img2 subdomain - https://img2.storyblok.com/700x300/f/94285/2048x1356/eeeb44170c/test.jpg ( notice that we have sizes twice in the url)

My question is, is there a better url we should be using? if no, is it safe to continue to use img2.storyblok.com?

Hello Jim,

you can use the image service like explained in this article:

It is ok to use the links which are using the a.storyblok.com/… domain in the content and then changing it in the implementation of your app to img2. instead of using a. and adding parameters like the size in front of the /f/… where needed.

You can find more information about the parameters of the image service here: