changing size of images to reflect leaflet library sizes