File: wp-includes/media.php
-
Filters the list of intermediate image sizes.
-
functionwp_get_attachment_image_src()
Retrieves an image to represent an attachment.
-
functionwp_get_attachment_image()
Gets an HTML img element representing an image attachment.
-
Filters the list of attachment image attributes.
-
functionimg_caption_shortcode()
Builds the Caption shortcode output.
-
Filters the default caption shortcode output.
-
functionget_image_tag()
Gets an img tag for an image attachment, scaling it down if requested.
-
Filters the value of the attachment’s image tag class attribute.
-
Scales down the default size of an image.
-
Filters the maximum image size dimensions for the editor.
-
functionimage_hwstring()
Retrieves width and height attributes using given width and height values.
-
functionimage_downsize()
Scales an image to fit a particular size (such as ‘thumb’ or ‘medium’).
-
hookimage_downsize
Filters whether to preempt the output of image_downsize().
-
functionadd_image_size()
Registers a new image size.
-
functionhas_image_size()
Checks if an image size exists.
-
functionremove_image_size()
Removes a new image size.
-
functionset_post_thumbnail_size()
Registers an image size for the post thumbnail.