added image tmp directory