Wordpress profile images are loaded only 50x50 on a particular domain on CloudFlare

What is the name of the domain?

example.com

What is the issue you’re encountering

WordPress profile images are 50x50 size on one particular domain on CF.

What steps have you taken to resolve the issue?

I have 10+ domains servering on the same in-house server all on WP + CF.
For one domain, I have WP profile images loaded at 50x50, while for other websites, it is 150x150.
The settings on my server side is pretty much identical, because I just copy and paste one website to another.

I have changed /wp-admin/options.php value for avatar, used local avatar by plugin, applied a code snippet to fix the avatar size…
Since it only occurs to the sinlge domain (and its subdomains on a separate WP installation), while all other settings are pretty much the same, I begin to wonder if it is somehow connected to CF’s image optimization. Any thoughts?

What’s the address of the site in question, where we can see one of these profile images?

On both cases, go to the end of post (or just above the footer). you can find blurred profile images w/ profile intro + emails of each authro.

The image URLs include the fixed dimension marker -50x50.jpg, so you can be sure that’s not Cloudflare, as Cloudflare’s transformations are a bit more dynamic than this.

So it’s very likely something in WordPress.

But once you have my attention here, let’s try to dig into this.

I can see these profile images are in a gravatars folder eg:

/wp-content/gravatars/davidoneill-e1715336410848-50x50.jpg

… while all the normap site images are in the standard uploads folder.

This is definitely not the default WordPress behaviour.

  1. What plugin are you using to store these profile images in the gravatar folder?
  2. Were the profile images uploaded locally (from your WordPress dashboard), or did the plugin grab the remote images from the Gravatar service?

Standing by.

Thanks for your personal attention on this matter.
I’ve been relying on WP User Avatar, but it got deprecated, so I switched to One User Avatar. Recently I have tested Basic User Avatar, both of which claim a folk of WP User Avatar.

I used above plugins because otherwise I cannot upload profile images from local system to WP admin. Last time I checked (long time ago), I had to go to gravatar.com for that.

The plugins support local (gr)avatar, meaning that local installation of WP store profile images within image folder or any other designated folder. For unstable connections, this is a way to speed up website loading, however small the contribution maybe.

I do the same for Google Fonts, which in fact is marginally performing better than remote connection.

Blurry image issue is persistent, even if I turn off the local (gr)avatar option. Besides, as soon as I turn the local file function on, in the /wp-content/gravatars/ folder, I can see a list of 50x50 size profile images.

I figured it out. EazyDocs – Most Powerful Knowledge base, wiki, Documentation Builder Plugin – WordPress plugin | WordPress.org - this plugin creates those small thumbnail size images behind the scene. I am going to contact the plugin author.

2 Likes