W3C home > Mailing lists > Public > www-html@w3.org > October 2008

HTML IMG tag.

From: Joćo Miguel Lopes Moreira <multi.jmlm_1970@hotmail.com>
Date: Fri, 10 Oct 2008 15:37:48 +0000
Message-ID: <BAY121-W16DF261B67E2B6C4666FE4DE350@phx.gbl>
To: <www-html@w3c.org>


Lisbon, 10 of October of 2008.

There is a way to include in the HTML ASCII file, the binary source of an image file, like a .gif file?

Solution: http://lists.w3.org/Archives/Public/www-html/2008May/0028.html

Another problem is that, the implemented solution, uses MIME to set data content type.

But when HTML have:
IMG SRC="file:\\image_file.gif"

I think it uses .gif to set data content type, and not a preset MIME, if MIME is used, is used by the browser, that query the O. S., or other, about the MIME for the .gif extension.

So, I think it would be great to have the image binary data, without reference to MIME, but, also, with reference to file extension, and let browser decide which content is there, as if a file name was supplied.

Instead of having only HTML:
IMG SRC="data:image/gif;base64,ZXYetc..."

Having also HTML:
IMG SRC="data:.gif;base64,ZXYetc..."

(JMLM).
_________________________________________________________________
Obtenha 30 Emoticons grįtis para o seu Windows Live Messenger
http://www.livemessenger-emoticons.com/funfamily/pt-pt/
Received on Friday, 10 October 2008 15:38:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:14 GMT