adjacent_image_link (line
479)
void
adjacent_image_link
([ $prev = true])
gallery_shortcode (line
381)
void
gallery_shortcode
( $attr)
get_attachment_taxonomies (line
494)
void
get_attachment_taxonomies
( $attachment)
get_image_tag (line
110)
An <img src /> tag for an image attachment, scaling it down if requested.
string
get_image_tag
(int $id, string $alt, string $title, string $align, [string $size = 'medium'])
-
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'.
image_constrain_size_for_editor (line
6)
void
image_constrain_size_for_editor
( $width, $height, [ $size = 'medium'])
image_downsize (line
55)
void
image_downsize
( $id, [ $size = 'medium'])
image_get_intermediate_size (line
276)
void
image_get_intermediate_size
( $post_id, [ $size = 'thumbnail'])
image_hwstring (line
43)
void
image_hwstring
( $width, $height)
image_make_intermediate_size (line
261)
void
image_make_intermediate_size
( $file, $width, $height, [ $crop = false])
-
$file
-
$width
-
$height
-
$crop
image_resize (line
197)
void
image_resize
( $file, $max_w, $max_h, [ $crop = false], [ $suffix = null], [ $dest_path = null], [ $jpeg_quality = 90])
-
$file
-
$max_w
-
$max_h
-
$crop
-
$suffix
-
$dest_path
-
$jpeg_quality
image_resize_dimensions (line
147)
void
image_resize_dimensions
( $orig_w, $orig_h, $dest_w, $dest_h, [ $crop = false])
-
$orig_w
-
$orig_h
-
$dest_w
-
$dest_h
-
$crop
img_caption_shortcode (line
356)
void
img_caption_shortcode
( $attr, [ $content = null])
next_image_link (line
475)
void
next_image_link
()
previous_image_link (line
471)
void
previous_image_link
()
wp_constrain_dimensions (line
127)
void
wp_constrain_dimensions
( $current_width, $current_height, [ $max_width = 0], [ $max_height = 0])
-
$current_width
-
$current_height
-
$max_width
-
$max_height
wp_get_attachment_image (line
338)
void
wp_get_attachment_image
( $attachment_id, [ $size = 'thumbnail'], [ $icon = false])
-
$attachment_id
-
$size
-
$icon
wp_get_attachment_image_src (line
321)
void
wp_get_attachment_image_src
( $attachment_id, [ $size = 'thumbnail'], [ $icon = false])
-
$attachment_id
-
$size
-
$icon