- Mimic the properties of WP_Post, and include additional metadata that's stored for images
- Include methods for retrieving data associated with an image, possibly replacing the
wp_get_attachment_image_family of functions.
- Save any reused data that would be used across functions so it's not calculated multiple times (e.g.,
wp_upload_dir(), see: #34359).
- Maintain backwards compatability with the media.php image functions.