• Resolved undergroundnetwork

    (@undergroundnetwork)


    Jeremy,
    If you see this, it seems that the code you gave me before to disable photon on the Buddypress avatar crop pages doesn’t seem to work anymore.

    function jeherve_disable_photon_on_page( $skip, $src ) {
    
    	if ( bp_is_group_admin_page( 'group-avatar' ) || bp_is_change_avatar() ) {
    		// Skip the images
    		return true;
    	}
    	return $skip;
    
    }
    add_filter( 'jetpack_photon_skip_image', 'jeherve_disable_photon_on_page', 10, 3 );

    Now I noticed you just did something on github to address the issue. Is there a way I can use that code?

    Thanks!

    Charles

    https://www.ads-software.com/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter undergroundnetwork

    (@undergroundnetwork)

    Please disregard this.. it still works.. I was doing something wrong. The above code still deactivates photon when you are trying to crop your avatar image in Buddypress. Though it appears that they have come up with a solution to this problem which should address it in a future update.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    they have come up with a solution to this problem which should address it in a future update.

    Indeed. You can find out more about it here:
    https://github.com/Automattic/jetpack/pull/57

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘jetpack_photon_skip_image not working any more?’ is closed to new replies.