Hi,
looks like downloading pictures from my piwigo 13.7.0 gives corrupted files. It's through download link : action.php?id=106772&part=e&download
At the end of action.php, adding ob_end_clean(); before the "ob_flush() 'n' flush();" stuff solved my problem.
Was reading a bit of : https://github.com/Piwigo/Piwigo/issues/643#issuecomment-769504627 and https://github.com/Piwigo/Piwigo/issues/1297#issuecomment-1266606502
The corrupted downloaded file had a bit of data added at the beginning and some removed at the end, as shown by this diff command
```
diff -y <(od -An -tx1 -w1 -v downloaded.jpg) <(od -An -tx1 -w1 -v original.jpg) | grep -E \(\<\|\>\)
```
```
ef <
bb <
bf <
> 51
> ff
> d9
```
<!-- github-sync-id:1775801490 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi,
looks like downloading pictures from my piwigo 13.7.0 gives corrupted files. It's through download link : action.php?id=106772&part=e&download
At the end of action.php, adding ob_end_clean(); before the "ob_flush() 'n' flush();" stuff solved my problem.
Was reading a bit of : https://github.com/Piwigo/Piwigo/issues/643#issuecomment-769504627 and https://github.com/Piwigo/Piwigo/issues/1297#issuecomment-1266606502
The corrupted downloaded file had a bit of data added at the beginning and some removed at the end, as shown by this diff command
Thank you so much adding ob_end_clean(); before the "ob_flush() fixed my problem to!!! reallyyy apreciate :)