Google Content-Disposition.  This is techincally a
MAIL header, not an HTTP header, I think, but the
major browsers seem to pay some attention to it,
at least some times.
--
Ray B. Morris
[EMAIL PROTECTED]

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php



On 08/17/2007 01:41:16 PM, Mark Harrison wrote:
I have a module that is serving out images in various formats
and resolution.  Our canonical format is:

/operation/image/resolution

for example, to get a jpeg thumbnail of foo.tif 256 pixels:

http://myserver/thumb/foo.tif/256-wide-jpg

This is all working well now and fits in with how other parts
of our system think about images, but I'm curious if there is a
way to hint to the browser a "save-as" filename.  Currently
if you save the file (or drag the image to the desktop),
the default name will be "256-wide-jpg.jpg", and it might be
nice to save it as "foo.tif.thumbnail.jpg" or some such.

Many TIA!
Mark

Reply via email to