Media and image styles
A media
entity represents any kind of asset that can be exposed as a field and used to build content. It can be an image, a local or remote video, audio, or a simple file.
Note
The media module of Drupal is extensible with contributed modules and can manage oEmbed (https://oembed.com) remote URLs, iframes, and so on.
A media
entity is a wrapper of a file or a remote asset used to provide additional fields; the field of a media entity that stores the asset (local or remote) is referred to as the source.
Media entities can be managed by a media library, an optional core module of Drupal that enhances the media module itself with some additional features. For example, it provides an interface to easily find and (re)use existing media items:
Figure 6.3 – The media library
The previous figure shows an example of the widget used to upload or select existing media.
Image styles
Images can be rendered with different...