Image
class Image (View source)
Properties
protected bool|null | $usePictureTag | ||
protected Picture|Image|JavaScriptLazyImage | $tag | ||
protected Theme | $theme |
Methods
Picture|Image|JavaScriptLazyImage
getTag()
Returns an object that represents the HTML tag.
loadPictureSettingsFromTheme()
Load picture settings from the theme.
Details
__construct(File $f = null, array|bool|null $options = null)
No description
Picture|Image|JavaScriptLazyImage
getTag()
Returns an object that represents the HTML tag.
protected
loadPictureSettingsFromTheme()
Load picture settings from the theme.
If the theme uses responsive image maps, the getTag method will return a Picture object.