wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-admin/includes/image.php › WordPress File
Functions16
› File contains all the administration image manipulation functions.
Function | Short description |
---|---|
file_is_displayable_image | Validates that file is suitable for displaying within a web page. |
file_is_valid_image | Validates that file is an image. |
load_image_to_edit | Loads an image resource for editing. |
wp_copy_parent_attachment_properties | Copy parent attachment properties to newly cropped image. |
wp_create_image_subsizes | Creates image sub-sizes, adds the new data to the image meta `sizes` array, and updates the image metadata. |
wp_crop_image | Crops an image to a given size. |
wp_exif_date2ts | Converts the exif date format to a unix timestamp. |
wp_exif_frac2dec | Converts a fraction string to a decimal. |
wp_generate_attachment_metadata | Generates attachment meta data and create image sub-sizes for images. |
wp_get_missing_image_subsizes | Compare the existing image sub-sizes (as saved in the attachment meta) to the currently registered image sub-sizes, and return the difference. |
wp_read_image_metadata | Gets extended image metadata, exif or iptc as available. |
wp_update_image_subsizes | If any of the currently registered image sub-sizes are missing, create them and update the image meta data. |
_copy_image_file | Copies an existing image file. |
_load_image_to_edit_path | Retrieves the path or URL of an attachment's attached file. |
_wp_image_meta_replace_original | Updates the attached file and image meta data when the original image was edited. |
_wp_make_subsizes | Low-level function to create image sub-sizes. |