Fix image directories