After upgrading Nextcloud to versions higher than 27, users are unable to preview images directly in mobile browsers. Instead, when clicking on an image file, the browser initiates a download of the image file. This behavior contrasts with the expected behavior seen in desktop browsers, where clicking on an image successfully triggers a preview popup. In version 27 of Nextcloud, this functionality worked as expected in both mobile and desktop browsers.
Steps to reproduce
Access Nextcloud instance using a mobile browser (e.g., Chrome on Android/iOS).
Attempt to click on an image file to preview it.
Note that instead of opening a preview popup, the browser initiates a download of the image file.
Expected behavior
Clicking on an image file in both desktop and mobile browsers should trigger a preview popup, allowing users to view the image without downloading it.
Installation method
Official All-in-One appliance
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
None
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
⚠️ This issue respects the following points: ⚠️
Bug description
After upgrading Nextcloud to versions higher than 27, users are unable to preview images directly in mobile browsers. Instead, when clicking on an image file, the browser initiates a download of the image file. This behavior contrasts with the expected behavior seen in desktop browsers, where clicking on an image successfully triggers a preview popup. In version 27 of Nextcloud, this functionality worked as expected in both mobile and desktop browsers.
Steps to reproduce
Expected behavior
Clicking on an image file in both desktop and mobile browsers should trigger a preview popup, allowing users to view the image without downloading it.
Installation method
Official All-in-One appliance
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
None
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response