register images directory