new, better way to load image.
Tests and error resolved