Viewing 9 replies - 1 through 9 (of 9 total)
  • Same issue here.

    Plugin Author Jeremy Herve

    (@jeherve)

    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 Author Jeremy Herve

    (@jeherve)

    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

    (@richardmtl)

    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:

    https://ethitter.com/2013/07/disable-jetpacks-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?
    Thanks

    spg1000,

    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.