Skip to content


Scaling images

Images served through the Red Bee platform can be scaled using a couple of parameters.

Width (w)

By adding the query parameter w the image's width is limited to the value of w while otherwise keeping is aspect ratio. Example:


Similarly to scaling by width, images can also be scaled by height using the h parameter. Example:


Using both w and h simultaneusly will crop the image. By default the image scaling service will use a smart crop feature to determine how to crop. That behaviour can be overridden using the crop parameter. Possible options are contain, cover, fill, inside, outside, smart.



The image format can be changed using the format paramter. This can significantly reduce the image size. Possible options are webp, jpeg, png.

NOTE: webp has limited support. Make sure whatever image format you use is supported by whatever platform you are developing for.