[Standards-JIG] Inline Images for JEP-0071: XHTML-IM
Peter Saint-Andre
stpeter at jabber.org
Tue Aug 29 10:33:17 CDT 2006
Andreas Monitzer wrote:
> 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.
Do you prefer that solution to the data: URI?
> 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 JEP Editor is always open to receiving proposal submissions. :-)
> 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.
Sure, we'd specify that in the proposal.
Peter
--
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.shtml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.jabber.org/pipermail/standards/attachments/20060829/8a728ffd/smime.bin
More information about the Standards-JIG
mailing list