get_image_tag Wordpress function


Description:

An <img src /> tag for an image attachment, scaling it down if requested.


Syntax:


Arguments:

(int) $id Attachment ID.
(string) $alt Image Description for the alt attribute.
(string) $title Image Description for the title attribute.
(string) $align Part of the class name for aligning the image.
(string) $size Optional. Default is 'medium'.


Return Type:

(string) HTML IMG element for given image attachment


Define At:

wp-includes/media.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_image_tag


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×