JSS Media API
Version: 21.x
The JSS media handling API is used internally by <Image/>
components provided by JSS for React, Angular, Vue.js, and React Native applications and provides the infrastructure for preparing and using images in JSS applications.
The Media API:
-
Handles query string parameters in media URLs.
-
Iterates over the array of
srcSet
parameters for an image and generates a corresponding set of Sitecore media URLs. -
Retrieves an image tag based on editor markup.