2020-05-02 / 3028阅 / 悠然
Retrieve width and height attributes using given width and height values.
Both attributes are required in the sense that both parameters must have a value, but are optional in that if you set them to false or null, then they will not be added to the returned string.
You can set the value using a string, but it will>
(int|string)
(Required)
Image width in pixels.
(int|string)
(Required)
Image height in pixels.
(string) HTML attributes for width and, or height.