I have Photon deactivated and still third party service is used in og:image.
Could you post a link to the post or page where you’re experiencing this issue, so I can take a closer look and understand what’s happening?
If you want it to remain private, you can also contact us via this contact form:
http://jetpack.me/contact-support/
I’ve recently replaced an image with a new one but keeping the name (I need it) but the image on wp.com is still the old one. How can I request a cache clearing?
If you let me know the image URL, I can flush Photon’s cache for you.
Thread Starter
Juan
(@cybnet)
Your comment has make me to take a look in another site where I use the same configuration and wp.com is not used to serve images in og:image meta when photon is deactivated. My appologize, it was my mistake.
I was using jetpack_images_get_images filter to add a default image and I was applying jetpack_photon_url filter to image URL:
$image_url = apply_filters( 'jetpack_photon_url', $image_url );
Now I do this and it is working fine:
if( class_exists( 'Jetpack' ) && Jetpack::is_module_active( 'photon' ) ) {
$image_url = apply_filters( 'jetpack_photon_url', $image_url );
}
Anyway, I think that if photon module is not active, jetpack_photon_url filter shouldn’t exist.
I think that if photon module is not active, jetpack_photon_url filter shouldn’t exist.
jetpack_photon_url was indeed designed to be functional as soon as Jetpack is active. To make sure it’s only active when Photon is enabled, you would have to add an additional check, as you’ve done.
Do you still need help flushing Photon’s cache for one of your images?
Thread Starter
Juan
(@cybnet)
No, thank, I don’t need flushing Photon’s cache.
Thanks for your help.