configure images directory