Related topics

Namesort iconDescription
Image toolkitsDrupal's image toolkits provide an abstraction layer for common image file manipulations like scaling, cropping, and rotating. The abstraction frees module authors from the need to support multiple image libraries, and it allows site...

Functions that call image_get_info()

Namesort iconLocationDescription
file_validate_image_resolutiondrupal/includes/file.incIf the file is an image verify that its dimensions are within the specified maximum and minimum dimensions.
file_validate_is_imagedrupal/includes/file.incCheck that the file is recognized by image_get_info() as an image.
hook_preparedrupal/modules/node/node.api.phpThis is a hook used by node modules. It is called after load but before the node is shown on the add/edit form.
image_gd_cropdrupal/modules/system/image.gd.incCrop an image using the GD toolkit.
image_gd_resizedrupal/modules/system/image.gd.incScale an image to the specified size using GD.
image_gd_rotatedrupal/modules/system/image.gd.incRotate an image the given number of degrees.
image_scaledrupal/includes/image.incScales an image to the given width and height while maintaining aspect ratio.
image_scale_and_cropdrupal/includes/image.incScales an image to the exact width and height given. Achieves the target aspect ratio by cropping the original image equally on both sides, or equally on the top and bottom. This function is, for example, useful to create uniform sized avatars from...
user_file_downloaddrupal/modules/user/user.moduleImplementation of hook_file_download().