image cache dir improvements