Image links in gmail are broken because of google's Image proxy (news1,news2). I can't load my site's images in gmail.
Actual image path is: http://sampleimageurl.com/images/logo.jpg
But I get the same image path like this in gmail:
https://ci3.googleusercontent.com/proxy/CUiMBo2ELdin8h5R_jKaarbsjQOZUXM3765smBK1PB4BsKq9EsVziwcOYFqjZqCkRDyu1jzoityEA_PJ=s0-d-e1-ft#http://sampleimageurl.com/images/logo.jpg
Does anyone knows how to solve this issue?
When your users open email messages, Gmail uses Google's secure proxy servers to serve images that might be included in these messages. This protects your users and domain against image-based security vulnerabilities.
If images aren't correctly displayed in the emails sent (you can send you a test email to try), it means your Gmail draft is partially broken. In that case, best is to create a new draft, and re-insert your image in this new draft.
Using an image proxy means that all requests for images made by Mattermost clients will go through the proxy instead of contacting third-party servers directly. This helps protect user privacy by preventing third-party servers from tracking who views an image.
The Google Image Proxy is a caching proxy server. Every time an image link is included in email the request will go to the Google Image Proxy first to see if it has been cached, if so it should serve it up from the proxy or it will go fetch it and cache it there after.
Because your image wasn't open to public.
You need make sure the new Gmail image proxy can fetch your image from google server.
In Google Apps, it's now possible to disable Image Proxy for GMail (in Apps Settings). Or, better, you can white-list your internal URLs for which image proxying should be disabled.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With