Hello,
I recently installed Mautic v6 in a test environment, and I noticed the users’ avatars are not displaying properly. See screenshot below.
I tried a few troubleshooting steps, including fixing the URL, adding local IP to the “dev_hosts” list in /config/local.php (which breaks Mautic), etc, but still no luck.
Any suggestions would be appreciated!
Thank you very much everyone!!!
Amos
stfnet
November 13, 2025, 6:54pm
2
I noticed the same..
I found a strange url error in the console like https://i0.wp.com/+\ [my mautic url]
Do you have the same ?
Steve
Hi Steve,
Yes! We are seeing the same here. I thought we were the only ones.
Did you find any solutions yet?
Thanks,
Amos
stfnet
November 13, 2025, 11:36pm
4
Not yet but it’s not a priority at the moment for me
The issue is probably related to your firewall.
Avatar is loaded using gravatar url similar to https://www.gravatar.com/avatar/abcdefg2d02a9eedc2bb21415f82?s=250&d=https://yourmauticsite/app/assets/images/avatar.png
Then gravatar redirects you to https://i1.wp.com/yourmauticsite/app/assets/images/avatar.png?ssl=1 .
i1.wp.com is a caching service that tries to load avatar from your site using url https://yourmauticsite/app/assets/images/avatar.png but can’t because of firewall. You need to open this url (or /app/assets/images/ prefix) to the whole world.
It’s just my guess
Thanks, Taras, for your reply!
It looks risky to expose Mautic to the public internet.
Were you able to resolve this by making your site publicly accessible?
Thanks,
Amos
I restrict access to Mautic service using Nginx. Config looks similar to the following:
location /app/assets/images/ {
try_files $uri @app;
}
location / {
allow 100.100.100.100; # My IP
deny all;
try_files $uri @app;
}
So, everything is allowed only from my IP, except for images from the /app/assets/images/ directory.
After this change avatars started loading as expected
Thanks, Taras!
Do you have something similar for Apache?
Thank you!
Unfortunately, I am not familiar with Apache, but I believe it should have similar functionality
OK, thank you so much for your help, Taras!