Glossary Term
get_image_tag()
3 tags
1 category
get_image_tag() — Gets an img tag for an image attachment, scaling it down if requested. The {
Inputs: $id (int): Attachment ID. $alt (string): Image description for the alt attribute. $title (string): Image description for the title attribute. $align (string): Part of the class name for aligning the image. $size (string|int[]): Optional. Image size. Accepts any registered image size name, or an array of width and height values in pixels (in that order). Default ‘medium’.
Returns string: HTML IMG element for given image attachment.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
