The link to the attribution control instance is stored in the attributionControl property of your L.Map instance:
var map = new L.Map('map').setView([0, 0], 0); attribution = map.attributionControl;
When you have this, you can use the setPrefix method to set a new prefix:
attribution.setPrefix('<img src="image.png">');
http://leafletjs.com/reference.html#control-attribution-setprefix
source share