rm all images and resources