Changed the way that images worked