Why is my image with URL that links to external site in a custom block not showing?
Try using the full site url for the src tags.

Prepend return value of $base_url and the rest of your path leading up to the image to your src attribute