I am new to Leaflet, as I am busy trying to migrate my Bing maps to a Leaflet environment.

I have managed to customise a standard icon for a marker.
However, as part of my async function which renders the positions, I have a .png image (which is already rotated and specific to a customer), which I would like to replace the icon with. This -tail- image is in the data as a .png file.
however, I am struggling to figure out exactly how to achieve this.
I am trying to include the .png's in both the popup and the latest position Marker... has anyone any idea how I can achieve this ? (my storage is in an aws s3 bucket). I have tried many different options , the latest of which I have attached.