added image compression parent directory