remove unused images and resize map picture