Photon seems not to hook into things like get_image_tag, is this correct?
Correct, currently, we only filter images in the content and featured images (aka post thumbnails). See http://plugins.trac.ww.wp.xz.cn/browser/jetpack/trunk/modules/photon.php#L46
Would it be possible to do so automatically once Photon is enabled?
We will consider adding something like that in a later release (it’s under discussion). I’d recommend keeping an eye on the changesets on new releases. And keep us posted about your plugin work! I’m interested to see more about it. 🙂
We will consider adding something like that in a later release (it’s under discussion). I’d recommend keeping an eye on the changesets on new releases.
So, in the meantime, it would not be a waste of effort to add this functionality to a theme myself?
And keep us posted about your plugin work! I’m interested to see more about it. 🙂
🙂
So, in the meantime, it would not be a waste of effort to add this functionality to a theme myself?
I don’t think it would be a waste if you really need it sooner rather than later, and since there’s not really any guarantee of a timeframe for an update like that from the Jetpack developers (no decision has been made yet).
If you do add functionality to a theme, I would suggest being ready to take it back out and update accordingly if the Photon update you’re looking for does come out at some point.
Following up to let you know that, as of 2.0.3/4, Photon now processes all images retrieved from the media library using core WordPress functions.
Oh, I noticed, and it is glorious! 🙂