File: wp-admin/includes/image.php
-
Copy parent attachment properties to newly cropped image.
-
functionwp_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.
-
Filters the array of missing image sub-sizes for an uploaded image.
-
functionwp_update_image_subsizes()
If any of the currently registered image sub-sizes are missing, create them and update the image meta data.
-
Updates the attached file and image meta data when the original image was edited.
-
functionwp_create_image_subsizes()
Creates image sub-sizes, adds the new data to the image meta `sizes` array, and updates the image metadata.
-
Filters the “BIG image” threshold value.
-
function_wp_make_subsizes()
Low-level function to create image sub-sizes.
-
Filters the image sizes generated for non-image mime types.
-
function_copy_image_file()
Copies an existing image file.
-
functionfile_is_displayable_image()
Validates that file is suitable for displaying within a web page.
-
Generates attachment meta data and create image sub-sizes for images.
-
Filters whether the current image is displayable in the browser.
-
Filters the image sizes automatically generated when uploading an image.
-
functionload_image_to_edit()
Loads an image resource for editing.
-
Filters the parameters for the attachment thumbnail creation.
-
Filters the current image being loaded for editing.
-
Filters the generated attachment meta data.
-
function_load_image_to_edit_path()
Retrieves the path or URL of an attachment’s attached file.
-
functionwp_exif_frac2dec()
Converts a fraction string to a decimal.
-
Filters the path to an attachment’s file when editing the image.
-
functionwp_exif_date2ts()
Converts the exif date format to a unix timestamp.
-
Filters the path to an attachment’s URL when editing the image.
-
functionwp_read_image_metadata()
Gets extended image metadata, exif or iptc as available.
-
Filters the returned path or URL of the current image.
-
Filters the image types to check for exif data.
-
Filters the array of meta data read from an image’s exif data.
-
functionfile_is_valid_image()
Validates that file is an image.
-
functionwp_crop_image()
Crops an image to a given size.