switch how images are stored in config