I tried putting this snippet in my functions.php

add_filter( 'avatar_defaults', 'newgravatar' );

function newgravatar ($avatar_defaults) {
    $myavatar = get_bloginfo('template_directory') . '/images/default_avatar.png';
    $avatar_defaults[$myavatar] = "Locale";
    return $avatar_defaults;
}

A new avatar appears in Options-Discussion. Problem is it’s not local at all.. the avatar is taken from http://i1.wp.com/mydomain.com/wp-content/themes/mytheme/images/default_avatar.png.

So it passes through i1.wp.com anyway.. how can I just have a friggin LOCAL link?

2 Answers
2

You have the Photon module enabled in the Jetpack plugin. That module routes your images through WordPress.com’s CDN. If you don’t want this to happen, disable the Photon module in Jetpack.

Leave a Reply

Your email address will not be published. Required fields are marked *