FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 08-15-2012, 08:21 PM
 
Default An inline bitmap in an HTML file.

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.



--
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Telephone 1 360 639 0202. Bcc: peter at easthope.ca
http://carnot.yi.org/ "http://members.shaw.ca/peasthope/index.html#Itinerary "


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/171057615.50554.28789@cantor.invalid
 
Old 08-15-2012, 09:38 PM
Manuel Cremer
 
Default 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,
iVBORw0KGgoAAAANSUhEUgAAAIYAAADyEAQAAAByU6mOAAAAAm JLR0T//xSrMc0AAAAJcEhZcwAA...

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

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 502C16CC.3070708@web.de">http://lists.debian.org/502C16CC.3070708@web.de
 
Old 08-16-2012, 02:49 PM
Camaleón
 
Default An inline bitmap in an HTML file.

On Wed, 15 Aug 2012 12:21:58 -0800, peasthope 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

Yes, the <object> tag is mainly used for uncommon elements.

> Here I tried to use that idea to include a png image.

Why? Don't you like the <img> tag? :-?

AFAIK, static PNG images are nowadays supported by most modern browsers.

> 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?

Mmm... you mean the image at the bottom ("Product Diagrams")? Maybe I'm
missing something but I can see the image rendered using Firefox
14.0.1 :-?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/k0j19k$svs$5@ger.gmane.org
 
Old 08-17-2012, 12:47 AM
 
Default An inline bitmap in an HTML file.

From: Camaleon <noelamac@gmail.com>
Date: Thu, 16 Aug 2012 14:49:24 +0000 (UTC)
> Why?

My first Google search turned up the example in the w3.org
page cited in the original query.

> Don't you like the <img> tag? :-?

So many choices. Will try <img>.

> you mean the image at the bottom ("Product Diagrams")?

Correct.

> Maybe I'm missing something but I can see the image rendered
> using Firefox 14.0.1 :-?

Yes, with the correction from Manuel Cremer it works.

http://members.shaw.ca/peasthope/Category2.xhtml was developed
first. The SVG diagrams there are displayed correctly by
Iceweasel but not by some browers. For them I am making
Category2.html with png diagrams.

Thanks for recommending <img>, ... Peter E.



--
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Telephone +13606390202. Bcc: peter at easthope.ca http://carnot.yi.org/
"http://members.shaw.ca/peasthope/index.html#Itinerary "


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/171057616.68574.25916@cantor.invalid
 
Old 08-17-2012, 03:19 PM
Camaleón
 
Default An inline bitmap in an HTML file.

On Thu, 16 Aug 2012 16:47:30 -0800, peasthope wrote:

>> Why?
>
> My first Google search turned up the example in the w3.org page cited in
> the original query.

I see... but you really mean you were not aware that there existed the
<img> tag for displaying images in html?

>> Don't you like the <img> tag? :-?
>
> So many choices. Will try <img>.

:-)

The <object> tag is mainly used to load another kind of content (java
applets, multimedia files and all kind of external/non native "plugins",
in general).

A good source for getting the basics on html and related technologies is
this site:

http://www.w3schools.com

>> you mean the image at the bottom ("Product Diagrams")?
>
> Correct.
>
>> Maybe I'm missing something but I can see the image rendered using
>> Firefox 14.0.1 :-?
>
> Yes, with the correction from Manuel Cremer it works.

Ah! I saw the one that was already working, sorry :-P

> http://members.shaw.ca/peasthope/Category2.xhtml was developed first.
> The SVG diagrams there are displayed correctly by Iceweasel but not by
> some browers. For them I am making Category2.html with png diagrams.

Yes, SVG is not well supported in many Internet Explorer versions, for
instance.

> Thanks for recommending <img>, ... Peter E.

You're welcome.

Note there's a slight difference when using <object> and <img> tags.
Look, if you open the page:

http://members.shaw.ca/peasthope/Category2.html#Product0x0Test0

Rigth-click over the image and choose "view image info", there's no
preliminary view, it appears to be broken. This can be good (to avoid
being scanned by bots) or bad (the web browser cannot cache the source).

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/k0lndt$o53$10@ger.gmane.org
 

Thread Tools




All times are GMT. The time now is 02:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org