ImageTag
class ImageTag extends BaseImageTag
Generates an HTML <img>
tag with the src
attribute set to the transformation URL, optional srcset
and other
specified attributes.
For more information, see the PHP SDK guide.
Methods
serializeAttributes(array $attributes = [])
Serializes the tag attributes.
Details
string
serializeAttributes(array $attributes = [])
Serializes the tag attributes.
Constants
NAME |
|
IS_VOID |
|
BLANK |
|
RESPONSIVE_CLASS |
|
HI_DPI_CLASS |
|