[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Resolving Images


cid image
Sorry to reply to myself; how tacky.  But there's another tactic, which
may work depending upon the browser (I rather doubt that there are
browsers that support this, but who knows?).

On Wed, 2002-07-24 at 11:24, Amelia A Lewis wrote:
> On Wed, Jul 24, 2002 at 08:29:04AM -0500, Andrew Dubinsky wrote:
> >A fully resolved link would include the data within the same file
> >resource. E.g. a copy of the resource.
> >
> ><img src="<<binhex data of gif>>" />
> >
[snip]

> I think that you should check whether your browser supports the data: URL

[snip]

An alternative is to deliver the entire bundle with content-type:
multipart/related.  Look for the MHTML specification.  SOAP uses this,
for example.

The idea here is that each part has a Content-id: header, and then your
attribute looks like this:

<img src="cid:parttwo@a..."; />

Or whatever the content-id happens to look like.  The spec also defines
the content-location header, and describes how to use it (this allows
you to package up a whole page with its inclusions and pass it around as
a bundle, without changing the original references).

However, I doubt that standard browsers-as-delivered are in the habit of
handling multipart/related.  But one could try (if they were, then one
could potentially reduce some of the server load, although it would also
be rather unfair to folks who've turned off image loading).

Amy!
-- 
Amelia A. Lewis       amyzing@t...      alicorn@m...
Never imagine yourself not to be otherwise than what it might appear to
others that what you were or might have been was not otherwise than what
you had been would have appeared to them to be otherwise.
                -- The Duchess [Lewis Carroll]

This is a digitally signed message part


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.