adds the image loader