Images no longer showing up in Thunderbird for subscribers
-
I have a site that uses Jetpack to email subscribers. In the past week people that use Thunderbird stopped being able to see the images in their email — instead it just shows the ALT text. They have remote content on so I dug into this.
The emails from before the change had image links that look like:
<img border=3D"0" style=3D"max-widt= h: 100%; height: auto; margin-bottom: 12px;" class=3D"alignnone size-full w= p-image-24914" src=3D"https://mywordpresssite/wp-content/uploads/= 2016/10/IMG_9581.jpg" alt=3D"img_9581" />
and after the change:
<img border=3D"0" style=3D"max-width: 100%; height: auto; margin-bottom= : 12px;" class=3D"alignnone size-full wp-image-25004" src=3D"https://mywordpresssite/wp-content/uploads/2016/10/IMG_0004.jpg" alt=3D"img_000= 4" srcset=3D"https://mywordpresssite/files/2016/10/IMG_0004.jpg 6= 00w, https://mywordpresssite/files/2016/10/IMG_0004.jpg?w=3D94&am= p;h=3D141 94w" sizes=3D"(max-) 100vw, 600px" />
I can see that a recent change added the “srcset” attribute for responsiveness, however, when it is emailed you can see that the “srcset” contains the path “/files” instead of “/wp-content/uploads”, and this is what is breaking, since the “/files” directory does not exist, so thunderbird is getting a 404. Loading in gmail must not use the srcset attribute so images look fine in gmail.
When viewing my site in a browser it also is responsive and uses srcset, however, srcset in that case uses “/wp-content/uploads” as the path so it works properly. Thanks.
- The topic ‘Images no longer showing up in Thunderbird for subscribers’ is closed to new replies.