“Add media” dialog is not showing any images

After switching workstation the issue became more obvious.
When trying to log in, WordPress returned a blank login page. As I didn’t get this symptom on the previous workstation as I was logged in, I didn’t see the solution.

The blank login page was related to malformed function.php with blank spaces at the beginning of file. Cleared excess spaces/ breaks from beginning of functions.php

Solved following issues: Blank loginpage, blank “add media” dialog and no redirect on saving options.