ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Functions | |
base () | |
description: > Base example for rendering a responsive Image. More... | |
with_additional_high_resolution_source () | |
description: > Example for rendering a responsive image with additional high resolution sources. More... | |
ILIAS\UI\examples\Image\Responsive\base | ( | ) |
description: > Base example for rendering a responsive Image.
expected output: > ILIAS shows a rendered image. While changing the size of the browser window the image will
Definition at line 33 of file base.php.
References $DIC, Vendor\Package\$f, and $renderer.
ILIAS\UI\examples\Image\Responsive\with_additional_high_resolution_source | ( | ) |
description: > Example for rendering a responsive image with additional high resolution sources.
expected output: > Example showing different card sizes which use an image with additional high resolution sources. The selected version of the image depends on the space available, meaning that the large image version is displayed on very large screens (even if the browser does not use the entire screen width). On very small screens, the small image version is displayed. The effect is best seen on desktop devices: Open the browser's developer tools ("Inspect" or F12). Select a screen width (very small, medium, large, extra-large) one after the other, reload the page each time and check the image source (img src) of the image. Depending on the screen width, different versions of the image are loaded
Definition at line 42 of file with_additional_high_resolution_source.php.
References $DIC, and $renderer.