Exception handled for null images