A common use-case for a CMS is to store images and be able to serve out multiple renditions of that image. Bloomreach XM has this functionality built-in, but is rather cumbersome to use and difficult to change once you've made up your mind.
To get around this XIN Mods include the /assetmod extension. A simple image operations interpreter that can help: scale, crop and apply other types of filters.
Watch the video below to get an understand of how to load Images from Bloomreach XM into your NodeJS projects.
Simply prefix any /binaries URLs with the /assetmod/<operations>/... construct. For example:
turns into
As you may have noticed, you can specify multiple operations. They are structured like this to make it easier for caches to cache them.