Support » Plugin: Jetpack by WordPress.com » wp_get_attachment_image_src and Photon
4 years, 2 months ago
I’m not sure if this is a feature or a bug, but I’ve discovered that
wp_get_attachment_image_src($image->ID, ‘large’) will result in the photon CDN URL sized accordingly
wp_get_attachment_image_src($image->ID, ‘full’) will result in the local attachment URL
Is this as designed?
Thanks for reporting this oversight. It will be fixed in the next Jetpack release.
The relevant commit is r649241.
Glad I could contribute ever so slightly… I already switched my themes over to large. 🙂