Support » Plugin: Jetpack by » Disable Photon for certain images/pages?

  • Resolved geckoc


    Wondering if there is anyway I can disable Photon for certain images or pages.

    IE: I have a page of pics updated daily (hotlinked from other sites). That end up permanently cached via photon.

    please and thanks anyone in the know.

Viewing 9 replies - 1 through 9 (of 9 total)
  • quacos


    Same issue here.

    Plugin Contributor Jeremy Herve


    Jetpack Mechanic 🚀

    I’m afraid it’s currently not possible to disable Photon for specific Posts or Pages.

    If you want to update or change an image that you’ve already posted, you’ll need to change its name.



    Is it possibile to disable Photon for external images?

    Plugin Contributor Jeremy Herve


    Jetpack Mechanic 🚀

    I am afraid not, since Photon parses and detects all images in your posts, regardlesss of their origin.

    I wonder if it’d be possible to do a workaround using a div with the background-image CSS property. I haven’t tried this personally, but it seem feasible. Thoughts?

    Looking for this kind of solution as well. I have an external image that updates itself on daily basis but it’s with the very same name each day.
    Any code that can be added to the image link so the Photon will ignore it?

    Plugin Contributor Richard Archambault


    Happiness Engineer

    As I mentioned in the other post by Udi, this code might work for some people:

    function my_photon_exception( $val, $src, $tag ) {
            if ( $src == 'YOUR_IMAGE_URL' ) {
                    return true;
            return $val;
    add_filter( 'jetpack_photon_skip_image', 'my_photon_exception', 10, 3 );

    Also have a look at this post:

    Disable Jetpack's Photon module in specific situations

    Please can someone tell me if I try and then disable photon will my site revert back to exactly the way it was before I tried it? Or could there be some ill effects/changes to my sight or images after photon’s switched off?


    Photon is only a caching system of your images.
    It doesn’t affect your site or images at all.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Disable Photon for certain images/pages?’ is closed to new replies.