Cannot browser panoramic photos

Steps to reproduce

  1. in image view click to enlarge photo

Expected behaviour

Large image preview is open and visible

Actual behaviour

Image preview overlay is open but image is not visible
I see in network tab request for photo that ends as 404

http://192.168.1.150/remote.php/dav/files/broman/CameraUpload/IMG_20250816_154649428.jpg?c=56f199c77d913658e3843ea7c6cbe86c&x=3840&y=3840&a=1&preview=1

but nothing about this in owncloud logs

Server configuration

Operating system:
Debian

Web server:
Apache/2.4.62

Database:
10.5.28-MariaDB

PHP version:
7.4.33

ownCloud version: (see ownCloud admin page)
10.15.2

Client configuration

Browser:
FIrefox

Operating system:
Win

Browser log

11:53:02.042
GET
http://192.168.1.150/remote.php/dav/files/broman/CameraUpload/IMG_20250816_154649428.jpg?c=56f199c77d913658e3843ea7c6cbe86c&x=3840&y=3840&a=1&preview=1
[HTTP/1.1 404 Not Found 1079ms]

11:53:02.043
Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: "/files_mediaviewer/IMG_20250816_154649428.jpg".
    jQuery 53
    redirect http://192.168.1.150/core/js/js.js?v=df742cf9295f0a07d26e4b818081b443:239
    r http://192.168.1.150/apps/files_mediaviewer/js/files_mediaviewer_init.js?v=df742cf9295f0a07d26e4b818081b443:1
    jQuery 8
    r http://192.168.1.150/apps/files_mediaviewer/js/files_mediaviewer_init.js?v=df742cf9295f0a07d26e4b818081b443:1
    _onClickFile http://192.168.1.150/apps/files/js/filelist.js?v=df742cf9295f0a07d26e4b818081b443:714
    Underscore 3
    jQuery 2