Complicated issue:
The emails with image sent from my email marketing system for Gmail accounts stopped displaying the images. Ex. <Img src = “http://www.dominio.com.br/uploads/assets/imagem1.jpg” alt = “”> in GMail is getting <img src = “image1.jpg” alt = “”> only.
Looking at the code it seems that GMail is removing the full location of the image and leaving only the file name in the src attribute.
I tried sending my own server and yahoo and images appear without problem, only in GMail that the problem appears.
Could someone show me what to do?
Thanks.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I found the problem, and seems so weird.
The problem was that in my e-mail’s html body the src attribute was referencing the image like <img src=“HTTP://www.image.local/image.jpg” alt=“” /> with the protocol upper case. After I rewrite the src value to “http://www.image.local/image.jpg” (protocol in lower case) the GMail return to show the image properly.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.