Describe the bug
I notized this issue after upgrading from Nextcloud 24 to Nextcloud 25, but maybe this also happens with Nextcloud 24:
When opening the contact menu, images for contacts who don't have an image show as "broken image" and not using the initials as placolder. In the following screenshot the "C" and "D" are users in Nextcloud. All other entries are just address book contacts without image

The reason for this is, that the respective image URLs (e.g. https://myserver.example/avatar/a5db8598-935c-4935-8ac7-02d89f1226e6/64&size=64) result in 404 errors.
Steps to reproduce
- Make sure that the Contacts app is installed and active
- Create some address book entries without image
- Click on the "contacts" icon on the top right corner to display the contact drop down menu
Expected behavior
Address book contacts without image show a placholder similar to user entries based on the first and last name.
Actual behavior
A "broken image" is displayed since the image URL responds with a 404 error.
Contact version
5.0.1
Operating system
Ubuntu Linux 20.04.5 LTS
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database
MariaDB
Additional info
No response
Describe the bug
I notized this issue after upgrading from Nextcloud 24 to Nextcloud 25, but maybe this also happens with Nextcloud 24:
When opening the contact menu, images for contacts who don't have an image show as "broken image" and not using the initials as placolder. In the following screenshot the "C" and "D" are users in Nextcloud. All other entries are just address book contacts without image
The reason for this is, that the respective image URLs (e.g. https://myserver.example/avatar/a5db8598-935c-4935-8ac7-02d89f1226e6/64&size=64) result in 404 errors.
Steps to reproduce
Expected behavior
Address book contacts without image show a placholder similar to user entries based on the first and last name.
Actual behavior
A "broken image" is displayed since the image URL responds with a 404 error.
Contact version
5.0.1
Operating system
Ubuntu Linux 20.04.5 LTS
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database
MariaDB
Additional info
No response