[wp-trac] [WordPress Trac] #35043: Images in RSS feed are broken

WordPress Trac noreply at wordpress.org
Fri Sep 9 18:21:30 UTC 2016


#35043: Images in RSS feed are broken
-----------------------------+-----------------------------
 Reporter:  griffinjay       |       Owner:  joemcgill
     Type:  defect (bug)     |      Status:  accepted
 Priority:  normal           |   Milestone:  Future Release
Component:  Media            |     Version:  4.4
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |     Focuses:
-----------------------------+-----------------------------

Comment (by lgpref):

 thanks for looking, @joemcgill. It's even more baffling, because those
 images DO get created.
 This is the experience I'm having with Outlook and browsers (on Win7, and
 in Outlook Web Client in IE and Chrome).

 I will open the email from MailChimp.
 The images are broken, but if I click to allow unsafe content, it shows
 the images.

 If I come back to the email after closing my client on Windows7 (or to the
 web client after a browser refresh), the images are broken and will not
 show. (Here's the weird part). If I come back to the email a few minutes
 later, the images will appear!
 This image is currently live on our web site:
 http://library.cedarmill.org/wp-content/uploads/2016/08/Glassland-Pierce-
 opt-300x150.jpg

 The same image URL is cited in the HTML of the *email* version of the
 newsletter, snippet pasted below. Note that there are no srcset
 references, and there is only one image src.:
 <snippet from HTML - full source of page available in PDF if you are
 interested>
 -------------------------------
 <h2 class="x_mc-toc-title" style="margin:0; padding:0; display:block;
 fontfamily:'
 Trebuchet MS','Lucida Grande','Lucida Sans Unicode','Lucida
 Sans',Tahoma,sans-serif; font-size:20px; font-style:normal; font-
 weight:normal;
 line-height:125%; letter-spacing:-.75px; text-align:left;
 color:#404040!important">
 <a href="redir.aspx?
 C=JmyMX5QdREP2Xz1kzzS5rjghVJ7Ip5vTygiepDn3ZTHEEX5V1NjTCA..&URL=http%3a%2f%2fcedarmill.us8.com%2ftrack%2fclick%3fu%3d7cd99b58103a512a93f24db5a%26id%3d8598429d7c%26e%3d916a7a9eff"
 style="word-wrap:break-word; color:#005680; font-weight:normal;
 textdecoration:
 none" target="_blank">Film
 Club: Glassland</a></h2>
 <img src="http://library.cedarmill.org/wp-content/uploads/2016/08
 /Glassland-Pierce-opt-300x150.jpg" class="x_attachment-medium x_size-
 medium x_wp-post-image" alt="Glassland Pierce opt" style="float:right;
 margin-left:5px; border:0; outline:none; text-decoration:none;
 height:auto!important" height="150" width="300" border="0">In the film
 Glassland, there is much that is painfully and hopelessly clear as John, a
 young man in his early 20’s, tries to save […]<br>
 <a
 href="redir.aspx?C=jzgba8fNcfb789tyTUkw7nT795ZoIBGnpXAKmQ0PBTEEX5V1NjTCA..&URL=http%3a%2f%2fcedarmill.us8.listmanage2.com%2ftrack%2fclick%3fu%3d7cd99b58103a512a93f24db5a%26id%3deaf22cf2e3%26e%3d916a7a9eff"
 style="word-wrap:break-word; color:#005680; font-weight:normal;
 textdecoration: none" target="_blank">Read on »</a><br>
 <br>
 -------------------------------------------------

 In contrast, from what I can see, the browser version of the email has
 srcset references, and will not load the existing image, which is the
 "glassland" 300x150px image, live on our website. http://us8.campaign-
 archive1.com/?u=7cd99b58103a512a93f24db5a&id=dfc7b6bbce

 This leads me to believe that it's true that MailChimp "fixed" the srcset
 issue in their email newsletters, but did not do anything to the "archive"
 (browser-based) versions, so RSS-to-email campaigns will still cause
 issues with WP responsive image handling. Am I making a correct connection
 here? This behavior is so distracting, when it works sometimes, and
 sometimes not, which makes it really hard to pin down.

 My goal with this discussion is to determine where to fight this battle.
 There are so many fronts that are possible here; I'm hoping that your code
 snippet (changing WordPress rss feed formats) is the right direction. If
 not, I'm left to sort through a myriad of "fronts", including our theme
 developers (Avada/ Theme Fusion), MailChimp support, plugin developers for
 "Featured Images in RSS with Size", or to just give up on MailChimp
 entirely. Thanks for your advice, and let me know if you'd like any
 forwarded hardcopy of source files or emails from MailChimp for testing.
 Best wishes.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35043#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list