[JDEV] XHTML Inband Images update

Trejkaz Xaoza trejkaz at xaoza.net
Tue Jan 20 14:57:13 CST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 21 Jan 2004 06:19, Richard Dobson wrote:
> Myself and Tomasz have been discussing this over the weekend via Jabber and
> have come to agreement on how we think this should be done, the resulting
> document is here:
>
> http://www.jabber.org/wiki/index.php/XHTML%20Inband%20Images
>
> Can everyone please take a look and provide feedback.

At first glance it looks okay.  This might be a good way to offset the current 
'drop down emoticon' trend, people who want a specific image can send the 
image, and emoticons can return to being purely pretty-printed text like 
they're supposed to be.

I'm not sure how useful it is to do a disco on the object.  If an <img/> tag 
was used, it has to be an image/* of a certain restrictive set (e.g. 
image/svg won't work in the <img/> tag, also if you're interested in the size 
of the image for restricting download of large images, you could look at the 
width and height attributes which should be on the image also.  And don't 
forget the 'alt' attribute!  And maybe also 'title', if you want it rich.

But to be truly flexible, you would need to use <object/> instead of <img/>, 
to enable all sorts of objects in the future which currently wouldn't work.  
Not to mention you're making it more compatible with the upcoming XHTML 2.0.

One other thing, isn't 'embedded' spelled with an 'e' usually?  I hope the 'i' 
in 'iobj' isn't to stand for '*i*mbedded'. ;-)

TX

- -- 
'Every sufficiently advanced technology is indistinguishable from magic' - 
Arthur C Clarke
'Every sufficiently advanced magic is indistinguishable from technology' - Tom 
Graves

      Email: Trejkaz Xaoza <trejkaz at xaoza.net>
   Web site: http://xaoza.net/trejkaz/
  Jabber ID: trejkaz at jabber.xaoza.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFADZYsmifzwBMPxxoRAuw9AJsHAiX8JB4bT+lDJejXgZqQDLO2vACfTiyJ
Vx6ynx5JluCmCXua9nverzU=
=1nKt
-----END PGP SIGNATURE-----



More information about the JDev mailing list