• Resolved Juan

    (@cybnet)


    JetPack is using third party service on og:image meta without any previous notice. I thought that only if Photon is activated images are served from wp.com but I was wrong; I have Photon deactivated and still third party service is used in og:image. I think you should notice about that to the users before they use it.

    But my actual question is not about that privacy warning. 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? It is done automatically? When?

    https://ww.wp.xz.cn/plugins/jetpack/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    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.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    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.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Clear image cache on OpenGraph tags’ is closed to new replies.