I want to do something like this inside a Twig template:
<img src="{{ img_path }}/logo.jpg" />
and send it with a mailer function (not mailto).
The {{ img_path }} is correct, because if I add:
<p>{{ img_path }}</p>
It is shown correctly (http://siteURL/img). And if I add /logo.jpg and put it on the URL, I'm getting the image.
But in the email, the image src attribute is a Google URL (I'm using Gmail to send) and the desired URL after that (https://ci5.googleusercontent.com/proxy/somecharacters#http://siteURL/img/logo.jpg), so the image is not showing.
Any idea of what is happening here and how to solve it?