Forums
Home / Plugin: Jetpack - WP Security, Backup, Speed, & Growth / wp_get_attachment_image_src and Photon
(@jonez)
11 years, 3 months ago
Hello,
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
but…
wp_get_attachment_image_src($image->ID, ‘full’) will result in the local attachment URL
Is this as designed?
Thanks! -Jeff
http://wordpress.org/extend/plugins/jetpack/
(@ethitter)
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. 🙂