osx: loading images implemented