[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: An inline bitmap in an HTML file.



On 08/15/2012 10:21 PM, peasthope@shaw.ca wrote:
> At the end of this section is an example illustrating 
> inline data in an HTML file.
> 
> http://www.w3.org/TR/html4/struct/objects.html#h-13.3.1
> 
> Here I tried to use that idea to include a png image.
> 
> http://members.shaw.ca/peasthope/Category2.html#Product0x0Test0
> 
> Iceweasel 14.0.1 displays the caption, 0x0, but no image.  The page 
> validates and the problem is unlikely to be in Iceweasel.  Any advice?
> 
> Thanks,                  ... Peter E.

Although I do not know why this should be debian-related, it is a small
typing mistake:

it must be
type="img/png" data="data:image/png;base64,
iVBORw0KGgoAAAANSUhEUgAAAIYAAADyEAQAAAByU6mOAAAAAmJLR0T//xSrMc0AAAAJcEhZcwAA...

instead of
type="img/png" data="data:base64,
iVBORw0KGgoAAAANSUhEUgAAAIYAAADyEAQAAAByU6mOAAAAAmJLR0T//xSrMc0AAAAJcEhZcwAA...

It is actually documented in the W3C sheet you refer to.


Reply to: