optimize leaflet plugin images