[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sks-devel] Displaying user images on index page
From: |
Daniel Johnson |
Subject: |
Re: [Sks-devel] Displaying user images on index page |
Date: |
Tue, 24 Feb 2004 22:25:44 -0600 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 24 Feb 2004 at 22:18, Yaron M. Minsky wrote:
> I've heard some requests for the ability to display the actual
picture
> associated with the user attribute packet. Is the contents of the
user
> attribute packet standardized enough for this to make sense? How
does
> it work? Is it always just a JPEG file?
I haven't read the RFCs, but PGPv6.5.8ckt08 lists JPG and BMP as
options. GPG v1.2.3 only wants JPG.
> The real annoyance in implementing this feature is that there's no
way
> (at least, none I know of) to have the jpeg be part of the body of
the
> HTML file.
The HTML format SKS outputs has to be compatible with automated
parsers, like GPG, right? Would they ignore a normal IMG tag (or
extra HREF)?
<IMG SRC="something:1234/file.jpg">
<A HREF="something:1234/pks?getpic=0xDEADBEEF">Photo</A>
> Instead, I need to have a link to a URL that is used for
> fetching the image. It's hardly impossible, but it does make it
more of
> a pain to implement. I guess I mention this only in the hope that
> there's something I'm missing, and there is an easy way of
embedding a
> jpeg into the body of an HTML page.
Did find this page:
http://www.yayhooray.com/thread/12004.html
They discuss implanting the raw image data into the <IMG> tag, but
also note that IE doesn't seem to support it fully. JavaScript is
mentioned, and apparently YayHorray! uses it to display the page, so
it's a bit messy inside.
If it could be done without interfering with automated key search and
retrieval, I would lean towards an IMG tag that calls on SKS to dig
out the pic for a particular key if the browser wants it. If the
image data was to be embeded in the HTML, I'd make sure it's only
done when a single key is returned (rather than an index page).
- --
Through the modem, off the server, over the T1, past the frame-relay,
< < NOTHIN' BUT NET > >
Daniel Johnson
address@hidden
http://dannyj.come.to/
Public PGP Keys & other info: http://dannyj.come.to/pgp/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32) - GPGshell v2.95
iD8DBQFAPCOm6vGcUBY+ge8RAl/oAKDsKmoybDAA7uVIX3pQyGkHZfD3rwCfaThC
PKpfFPny+PXRySlSUgCFMvo=
=mSW+
-----END PGP SIGNATURE-----