Fixed getImages problem.