No Images are showing

Support intro

Hi, I have finally switched from OwnCloud to NextCloud. All seemed to go well.
However there is one issue I am trying to figure out and after trying some solutions, I could not get it resolved.
On my install for NextCloud, no pictures are loading.

All pictures say “error loading picturename.jpg”

All other files are fine, pdf, excel, etc. all fine, but Jpg, PNG, Gif, etc. all not loading.
I downloaded some from FTP and they seem fine. I upload pictures from my desktop and also they work fine.
Does anyone have an idea what the possible cause of this could be?

Nextcloud version 22
Operating system and version Ubuntu 20.04
Apache 2.4.25
PHP 7.4