[Standards] Re: Inband Images
ian.paterson at clientside.co.uk
Wed Mar 28 22:50:00 UTC 2007
Andreas Monitzer wrote:
> On Mar 28, 2007, at 22:21, Ian Paterson wrote:
>> Yes, the data: URI protocol is only supported by the Firefox and
>> Opera browser rendering engines. So Web clients could only support
>> Inband Images if the client is opened inside one of those two browsers.
> I just had an idea: Maybe the web client could convert them to regular
> images on the fly? The sender wouldn't notice anything. That's more
> like a workaround, but it could work.
I'm afraid that the security constraints implemented by all browsers
prevent Web clients creating regular images or saving any files.
The only option would be to HTTP POST the data to a script running on
the HTTP server which then publishes it from an agreed HTTP URL
(allowing the client to download the image as a file). That sounds like
a lot of work, but Web client authors are used to that sort of thing.
Olivier Goffart wrote:
> But if the client use a rendering engine that doesn't support data uri, the
> client itself could try to parse the <html/> to find <img src="data:"/>
> elements and save the file locally.
Good idea, but it wouldn't work for Web clients.
More information about the Standards