Describe the bug
A clear and concise description of what the bug is.
When opening a page with attachments in view mode all attachments show as 'failed to load attachment'
To Reproduce
Steps to reproduce the behavior:
- Go to collective
- Open page with attachment
- view in non-edit mode
Expected behavior
preview of dialog showing attachment that can be selected
Screenshots
If applicable, add screenshots to help explain your problem.

Server details:
- Collectives app version: 2.9.2
- Nextcloud version: 28.0.2 RC4
- PHP Version: 8.2.13
- Database: MariaDB 10.5.21
Client details:
- OS: Debian 12
- Browser: floorp (firefox fork)
- Browser version: 11.8.2
- Device: Desktop
Logs
Nextcloud log (data/nextcloud.log)
nextcloud.log
Browser log
Insert your browser log here, this could for example include:
console-export-2024-1-28_15-39-9.txt
Describe the bug
A clear and concise description of what the bug is.
When opening a page with attachments in view mode all attachments show as 'failed to load attachment'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
preview of dialog showing attachment that can be selected
Screenshots
If applicable, add screenshots to help explain your problem.
Server details:
Client details:
Logs
Nextcloud log (data/nextcloud.log)
nextcloud.log
Browser log
Insert your browser log here, this could for example include:
console-export-2024-1-28_15-39-9.txt