Image Library Manipulations

When passing images to the Dynamic Image API, you can either provide a URL to download an image or specify a path relative to a root image folder inside DI. We saw this in the previous example when we referred to the rose.jpg image placed in the long subfolder.

It is convenient to use when you have a limited set of predefined images (e.g. standard backgrounds, etc.) - instead of having to download files from remote storage, you can just use the local copies.

By default, the root folder is located in the App_Data/assets/images folder, but you may overrride it in AppSettings.config file (the ImagePath param).

DI exposes a Web API to manage these images: