Describe the bug
Although bug #396 is now fixed (attachments are rendered as broken images in view mode), the behavior when clicking attachments remains the same: They're previewed as broken images.
To Reproduce
Steps to reproduce the behavior:
- Drag & drop a PDF in a Collectives page
- Change to view mode (/exit edit mode)
- Click on the PDF box (grey outline, red PDF file icon, filename, size)
- See a broken image being displayed
Expected behavior
A PDF correct working preview or iframe (or a file download starting).
Screenshots

Client details:
- OS: any
- Browser: any
- Version: Nextcloud 26.0.0 / Collectives 2.4.0
- Device: any
Describe the bug
Although bug #396 is now fixed (attachments are rendered as broken images in view mode), the behavior when clicking attachments remains the same: They're previewed as broken images.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A PDF correct working preview or iframe (or a file download starting).
Screenshots

Client details: