Archive | /wp-includes/media.php RSS feed for this section

image_downsize

Scale an image to fit a particular size (such as ‘thumb’ or ‘medium’).Array with image url, width, height, and whether is intermediate size, in that order is returned on success is returned. $is_intermediate is true if $url is a resized image, false if it is the original.

1985

Continue reading

get_image_tag

An tag for an image attachment, scaling it down if requested.The filter ‘get_image_tag_class’ allows for changing the class name for the image without having to use regular expressions on the HTML content. The parameters are: what WordPress will use for the class, the Attachment ID, image align value, and the size the image should be.

1426

Continue reading