Disable generation of contacts initials in the avatar

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 28.0.4
Operating system and version (eg, Ubuntu 20.04): Ubuntu 24.04
Apache or nginx version (eg, Apache 2.4.25): nginx/1.18.0
PHP version (eg, 7.4): 8.1.2

The issue you are facing:

When scrolling the contacts list, it takes too long to generate every contact initials and place it as an avatar which result in huge load on the server and the consumption of the PHP-FPM pool, I have pool size of 120.
And it makes HTTP GET request for EVERY contact to fetch this avatar!

I have enabled nginx, OPCache and APCu caching as using Redis too.

So how to disable this? I just want to display a static generic image for all contacts who have no photo.

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Open the contacts app.
  2. Scroll the contact list and wait to see their generated avatars.