Archive | Documentation RSS feed for this section

image_hwstring

Retrieve width and height attributes using given width and height values.Both attributes are required in the sense that both parameters must have a value, but are optional in that if you set them to false or null, then they will not be added to the returned string.

1991

Continue reading

image_get_intermediate_size

Retrieve the image’s intermediate size (resized) path, width, and height.The $size parameter can be an array with the width and height respectively. If the size matches the ‘sizes’ metadata array for width and height, then it will be used. If there is no direct match, then the nearest image size larger than the specified size will be used. If nothing is found, then the function will break out and return false.

1989

Continue reading

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