Corrupted photos or bugged

Operating system: Raspbian Lite

Web server: nginx-1.14.2

Database: Ver 15.1 Distrib 10.3.29-MariaDB

PHP version: PHP 7.3.29-1~deb10u1

ownCloud version: 10.8.0

Hello I have uploaded to my backup some of my photos and some of them are corrupted. I have upload the original and the corrupted owncloud image. Not all the photos are like this. What should I do to fix this issue. Also after the update the issue did not fix. How to fix this error?

[ORIGINAL]

[UPLOADED]