Photon issues?
-
I’ve noticed that a few of my images fail to load. I’m using Automattic’s Photon from Jetpack, which will cache (for free) all images on a CDN maintained by Automattic. Jetpack does the magic of changing the URI into something like https://xxxx.wp.com/your-usual-URI-for-an-uploaded-media-file
However, this seems to break the snapshot images (and banners) pulled by the README parser. Why? I really have no idea. If I understood correctly, the images are not downloaded locally but just linked externally to WP’s plugin subversion directory. Or are they? I haven’t looked at your code, so I’m wildly guessing. If they’re being stored locally, then this doesn’t play nicely with Photon — Jetpack is rewriting the URIs, but the images are not being sent to Photon for storage, and so one gets a blank missing image.
Hm. This is tricky. One way is to link directly (assuming it’s possible at all); Photon will not attempt to store embedded/linked images, just local ones. The other is to pull the image and store it, via WP’s mechanisms, as a regular attachment. Then Photon should have no trouble getting it.
- The topic ‘Photon issues?’ is closed to new replies.