Changed the way images are accessed