removing large images and replacing them with small png files.