#16818: show base64 image

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

#16818: show base64 image

Pidgin
#16818: show base64 image
---------------------+--------------------------
 Reporter:  yetist   |      Owner:
     Type:  patch    |     Status:  new
Milestone:           |  Component:  pidgin (gtk)
  Version:  2.10.11  |   Keywords:
---------------------+--------------------------
 The current version of pidgin, if receive a chat message, that include
 '''<img/>''', it will show an http link instead, it is not we wanted.

 If we received the image message, there are two different data, one is:
 {{{
 <img src='http://...'/>
 }}}
 the other is:
 {{{
 <img src='data:image/xxx;base64,iVBORw0KGgXVCJiFpFF1UmQ0z...=='/>
 }}}

 In the first way, if to show image, pidgin should visit the url agent to
 get image data.
 In the second way, pidgin have already got the image data, to show the
 image is easy.

 So, I have write a patch to show image, if pidgin got the base64 encoded
 image data.

--
Ticket URL: <https://developer.pidgin.im/ticket/16818>
Pidgin <https://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
[hidden email]
https://pidgin.im/cgi-bin/mailman/listinfo/tracker
Reply | Threaded
Open this post in threaded view
|

Re: #16818: show base64 image

Pidgin
#16818: show base64 image
------------------------------------+---------------------------
 Reporter:  yetist                  |       Owner:
     Type:  patch                   |      Status:  new
Milestone:  Patches Needing Review  |   Component:  pidgin (gtk)
  Version:  2.10.11                 |  Resolution:
 Keywords:                          |
------------------------------------+---------------------------
Changes (by Robby):

 * milestone:   => Patches Needing Review


--
Ticket URL: <https://developer.pidgin.im/ticket/16818#comment:1>
Pidgin <https://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
[hidden email]
https://pidgin.im/cgi-bin/mailman/listinfo/tracker
Reply | Threaded
Open this post in threaded view
|

Re: #16818: show base64 image

Pidgin
In reply to this post by Pidgin
#16818: show base64 image
------------------------------------+---------------------------
 Reporter:  yetist                  |       Owner:
     Type:  patch                   |      Status:  new
Milestone:  Patches Needing Review  |   Component:  pidgin (gtk)
  Version:  2.10.11                 |  Resolution:
 Keywords:                          |
------------------------------------+---------------------------

Comment (by EionRobb):

 data: uri's don't need to be base64 encoded to be usable and the data
 should be purple_uri_decoded() to be safe

--
Ticket URL: <https://developer.pidgin.im/ticket/16818#comment:2>
Pidgin <https://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
[hidden email]
https://pidgin.im/cgi-bin/mailman/listinfo/tracker
Reply | Threaded
Open this post in threaded view
|

Re: #16818: show base64 image

Pidgin
In reply to this post by Pidgin
#16818: show base64 image
-----------------------------------------+---------------------------
 Reporter:  yetist                       |       Owner:
     Type:  patch                        |      Status:  new
Milestone:  Patches Needing Improvement  |   Component:  pidgin (gtk)
  Version:  2.10.11                      |  Resolution:
 Keywords:                               |
-----------------------------------------+---------------------------
Changes (by Robby):

 * milestone:  Patches Needing Review => Patches Needing Improvement


--
Ticket URL: <https://developer.pidgin.im/ticket/16818#comment:3>
Pidgin <https://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
[hidden email]
https://pidgin.im/cgi-bin/mailman/listinfo/tracker
Reply | Threaded
Open this post in threaded view
|

Re: #16818: show base64 image

Pidgin
In reply to this post by Pidgin
#16818: show base64 image
-----------------------------------------+---------------------------
 Reporter:  yetist                       |       Owner:
     Type:  patch                        |      Status:  new
Milestone:  Patches Needing Improvement  |   Component:  pidgin (gtk)
  Version:  2.10.11                      |  Resolution:
 Keywords:                               |
-----------------------------------------+---------------------------

Comment (by EionRobb):

 https://github.com/EionRobb/pidgin-data-uri-image is a plugin I wrote a
 little while ago to handle base64 inline images

--
Ticket URL: <https://developer.pidgin.im/ticket/16818#comment:4>
Pidgin <https://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
[hidden email]
https://pidgin.im/cgi-bin/mailman/listinfo/tracker
Reply | Threaded
Open this post in threaded view
|

Re: #16818: show base64 image

Pidgin
In reply to this post by Pidgin
#16818: show base64 image
-----------------------------------------+---------------------------
 Reporter:  yetist                       |       Owner:
     Type:  patch                        |      Status:  closed
Milestone:  Patches Needing Improvement  |   Component:  pidgin (gtk)
  Version:  2.10.11                      |  Resolution:
 Keywords:                               |
-----------------------------------------+---------------------------
Changes (by trac-robot):

 * status:  pending => closed


Comment:

 This ticket was closed automatically by the system.  It was previously set
 to a Pending status and hasn't been updated within 14 days.

--
Ticket URL: <https://developer.pidgin.im/ticket/16818#comment:6>
Pidgin <https://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
[hidden email]
https://pidgin.im/cgi-bin/mailman/listinfo/tracker