This is based on a WordPress support forum post: https://wordpress.org/support/topic/serving-images-from-cloudinary-after-auto-upload/#post-10029638