So I worked out what I was looking for. It seems that all images, when edited or uploaded, have something passed through wp_update_attachment_metadata and so I can hook into that to get the info I need.
Related Posts:
- How to make programmatic image upload generate thumbnail and sizes?
- Is it possible to change image size used for preview thumnail in Add Media popup
- Why WordPress suddenly changed sizes of thumbnails?
- unsharp thumbnails after uploading image
- WP is showing wrong image dimensions
- Delete all thumbnails & regenerate them?
- Restricting users to view only media library items they have uploaded?
- Prevent WordPress from generating medium_large 768px size of image uploads?
- Set default image link target in Gutenberg image block
- Is there a hook which fires after all thumbnails are generated?
- Using Images in WordPress – Best Practices
- How to set the default embed image size
- Cropped featured image replaces original image in gallery
- Settings in ‘Media > Settings’ is ignored when inserting images
- How do I delete all generated images from my server except those currently used in posts
- Insert Images at Master Uniform Height
- Cannot access the thumbnails of attachment images… Cannot find the reason
- Media sizes aren’t being created – server config?
- Add visual editor to Media Edit Screen
- Removing Title Tag from Thumbnails
- custom image size with New Media Manager in wordpress 3.5
- How to add a media with PHP
- Can’t access ‘Store uploads in this folder’
- How to add qtranslate multi language support for media?
- Best way to strip character entities (%20 etc)
- 3.5 media.editor: what is the event listener for choosing an image?
- Display latest 12 images from media library
- Getting alt text of featured image
- Rename media files generated during upload
- Thumbnails are bigger in size than the original image
- Link to full size image or attachment page in photo theme
- How Do I Delete All The Images from WordPress
- Lazyload post thumbnails
- Show full image thumbnail
- Get thumbnail url of custom meta image?
- Change WordPress Media Manager
- Handling image uploads without thickbox
- How can I create more upload paths, like a post corresponding to a post title folder used to store images of the same product
- WordPress automatically downscaled images larger that original
- Update old Post image metadata to ‘thumbnail’ wp_attached_file
- How to change image atributes right before an image to be saved?
- Is it possible to change ‘Link to’ in all images in all articles?
- Ho to add “Create Slider” option to default “Add Media” popup?
- Edit image results in copies of file being created
- Fixing image names for a site being restored
- Images uploaded to the media library has strange colors. However, in the edit screen the color is ok
- Blank upload.php page
- Post and featured image have the same name, why is the attachment (image) is showing and not the post?
- Export xml use/import images from theme directory
- Force image crop size in media editor
- Gallery with thumbnail carousel
- Moving media library to the media library of completely different site
- Upload media only to DB
- Dynamic image crop in WP 3.0+?
- Get images attached to a specific page
- How do I get a smaller size of an avatar image
- Is there a way in WordPress to convert images to WebP without a plugin?
- Stop WordPress compressing images? – Quality is terrible
- Auto delete pictures in media library by age
- Can we use featured image as third party website image URL
- Is it possible to enable the ‘Link To’ field under ‘Attachment Display Settings’ for a Featured Image?
- add_image_size not working
- Product Images Low Quality After Updating From WP 3.5 to 4 [closed]
- How can i identify media uploaded to my website that is not being used anywhere anymore?
- image URL changed in wordpress
- Serving Images from subdomain in wordpress
- how to change format jpg to webp?
- User uploads image as “Featured Image” but WordPress resizes it?
- Profile image does not upload
- WordPress append -1 to the image name
- Allow a specific user role I have created to only upload one image to his media library
- How to display the Media Library Items Upload date
- Images not showing after wordpres update 5.6
- Upload error on localhost (at minimum, not yet tested online)
- Built-in image lazy loading: Does it come with a polyfill for older browsers?
- how to regenerate webp et-pb-portfolio-image
- Auto Generate Thumbnail
- Images not loading on webpage, and links to other media give 404 Not Found
- Post-processing of the image failed
- When upload a PNG a noise appears in the thumbnails
- Generate links on all images in posts – is there a hook?
- Blank image thumbnails in media library
- New portfolio items appearing smaller on the grid
- Use wget to find used images
- Modify media file markup output
- Unable to delete images in Media Library
- How to regularly backup and update WordPress website with lot of images?
- Image thumbnail on single product issue | WooCommerce
- How do I display image files as links?
- Create a custom attachment thumbnail for quick page load
- page displaying media caption shortcodes
- Broken Media Library
- Change image link in excerpt to point to post
- Add custom version to an image
- Media Library is not loading on grid view in admin panel
- Blurry Images WordPress 5.8.1
- Thumbnail size keeps resetting automatically
- WordPress API, creating Featured Media from image url (nodejs)
- Media Library shows default image instead of image preview
- Uploading media to wordpress API with C# HttpClient