add image dir to resources