[Standards-JIG] Inline Images for JEP-0071: XHTML-IM

Andreas Monitzer jig at monitzer.com
Tue Aug 29 08:55:15 CDT 2006


On Aug 29, 2006, at 15:41, Richard Dobson wrote:

>> Further, XHTML limits the data-protocol images to 1024 bytes in  
>> base64-encoding, including the header with the mime-type and  
>> encoding declaration. This is only suitable for very small images  
>> (custom emoticons perhaps, which is an important application for  
>> that). For larger images, a different solution has to be found.  
>> MIME-mails support this by allowing to reference images attached  
>> to the mail in <img/>-tags by using a "Content ID" in the  
>> attachment's header. Since XMPP doesn't support attachments  
>> (wouldn't make any sense), this isn't a suitable solution here.  
>> However, the image could be transparently transferred using a file  
>> transfer method (like JEP-0096 or JEP-0166) and referenced from  
>> the XHTML inside the message packet. This would probably require a  
>> new JEP.
> Something like this?
>
> http://wiki.jabber.org/index.php/XHTML_Inband_Images

Yes, exactly like this. It would be nice if this would become a JEP,  
so other people (like me) could actually find it :) After all, this  
is something that has to be specifically implemented into all  
JEP-0071-supporting clients to work.

The other part (disco#info feature for the data protocol) is not  
solved by this, though. This could even be used for that thumbnail  
proposed on that wiki page.

andy




More information about the Standards-JIG mailing list