[Pidgin] #10163: pidgin expands image links on XMPP

Pidgin trac at pidgin.im
Mon Aug 31 18:44:46 EDT 2009


#10163: pidgin expands image links on XMPP
-----------------------+----------------------------------------------------
 Reporter:  BUGabundo  |     Owner:  deryni
     Type:  defect     |    Status:  new   
Component:  XMPP       |   Version:  2.6.0 
 Keywords:  img, html  |  
-----------------------+----------------------------------------------------
 my tweet.im account started expanding avatar image links after 2.6.x

  <message from='bugabundo at twitter.tweet.im' to='im at zzzzz/XMPP85DB5237'
 type='chat'>
         <body>Bruno Miguel (brunomiguel): RT @telecomix REMINDER -
 #nogoogleday starts NOW! http://interfax.werebuild.eu/</body>
         <html xmlns='http://jabber.org/protocol/xhtml-im'>
                 <body xmlns='http://www.w3.org/1999/xhtml'>
                         <div>                           <img
 src='http://a3.twimg.com/profile_images/376518189/eu1_normal.JPG'/>
                                 <a
 href='http://twitter.com/brunomiguel'>Bruno Miguel</a>
  (brunomiguel): RT                              <a
 href='http://twitter.com/telecomix'>@telecomix</a>
  REMINDER - #nogoogleday starts NOW! http://interfax.werebuild.eu/</div>
                 </body>
         </html>
         <x xmlns='jabber:x:delay' from='bugabundo at twitter.tweet.im'
 stamp='20090831T21:59:00'/>
 </message>


 here in an image
 http://dl.getdropbox.com/u/112892/Screenshot-tweet.im.png


 Log from a MUC on this subject:
 darkrain: Someone in #pidgin was having the same issue, although I didn't
 realize this was new in 2.6.0. The problem is that the server is sending
 an <img href='http://a3.twimg.com/...'/>, and Pidgin doesn't support
 loading images from external sites.
 changed in 2.6.0:
     * IMG tags without 'id' attributes are turned into links to the image
 URL.
  Florob: that is like SO stupid. It shows a broken image icon if there is
 a id and if there is none it shows the alt text. Oh and if there is
 neither it shows the url


 Version 1:2.6.1-1ubuntu0~pidgin1.9.10

-- 
Ticket URL: <http://developer.pidgin.im/ticket/10163>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list