Fixing image directories