What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: JPG Force Download

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69226
interpreted = N
texte = Hi I had a look on the archives and found this which seems to be working ok, thanks for the response though. http://webdna.smithmicro.com/ref/pages.html? context=ReturnRawContext.html#BinaryBody Cheers ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1330 860550 Fax +44 1330 860880 ======================================== http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig ======================================== On 16 Aug 2007, at 12:35, Christophe Billiottet wrote: > Hi Steve! > > Do not link to the jpg directly, but use server-sided script page > instead. > For example, http://www.domain.com/getfile.tpl?file=yourfile.jpg > > In the script, add some additional header before write out the file > content. > > content-disposition=attachment; filename=yourfile.jpg; > > Have a look there too: http://support.microsoft.com/kb/279667 > > Hope this help. > > - chris > > On Aug 16, 2007, at 8:02, Steve Craig wrote: > >> Hi >> >> I am away to start coding a small image library for a client and >> I'm just wondering if anyone has a way of forcing a "Save as" >> download box to appear, when a user selects an image, instead of >> the browser just opening the jpg? I realise I could just zip the >> files but would prefer not to if possible. >> >> Thanks for any help in advance. >> >> Of course this is on the assumption there's anyone still here!!! >> >> Cheers >> ======================================== >> Steve Craig - Asylum Interactive Ltd >> Tel +44 1330 860550 Fax +44 1330 860880 >> ======================================== >> http://www.asylumweb.com >> Email: steve@asylumweb.com >> Skype: s.craig - iChat: steve.craig >> ======================================== >> >> >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: JPG Force Download - BUG? ( thierry 2007)
  2. Re: JPG Force Download - BUG? ( thierry 2007)
  3. Re: JPG Force Download ( Steve Craig 2007)
  4. Re: JPG Force Download ( Chris 2007)
  5. JPG Force Download ( Steve Craig 2007)
Hi I had a look on the archives and found this which seems to be working ok, thanks for the response though. http://webdna.smithmicro.com/ref/pages.html? context=ReturnRawContext.html#BinaryBody Cheers ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1330 860550 Fax +44 1330 860880 ======================================== http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig ======================================== On 16 Aug 2007, at 12:35, Christophe Billiottet wrote: > Hi Steve! > > Do not link to the jpg directly, but use server-sided script page > instead. > For example, http://www.domain.com/getfile.tpl?file=yourfile.jpg > > In the script, add some additional header before write out the file > content. > > content-disposition=attachment; filename=yourfile.jpg; > > Have a look there too: http://support.microsoft.com/kb/279667 > > Hope this help. > > - chris > > On Aug 16, 2007, at 8:02, Steve Craig wrote: > >> Hi >> >> I am away to start coding a small image library for a client and >> I'm just wondering if anyone has a way of forcing a "Save as" >> download box to appear, when a user selects an image, instead of >> the browser just opening the jpg? I realise I could just zip the >> files but would prefer not to if possible. >> >> Thanks for any help in advance. >> >> Of course this is on the assumption there's anyone still here!!! >> >> Cheers >> ======================================== >> Steve Craig - Asylum Interactive Ltd >> Tel +44 1330 860550 Fax +44 1330 860880 >> ======================================== >> http://www.asylumweb.com >> Email: steve@asylumweb.com >> Skype: s.craig - iChat: steve.craig >> ======================================== >> >> >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Steve Craig

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] Brian Harrington (2019) Safari browser and WebDNA set-cookies (2003) WebCat for News Gathering (1999) Pre-flight public flag (1997) OT: Urgent help with Windows and Javascript (2003) javascript problem copying values (2000) Bug in v5.1? (2003) Some ThankYou page problems (1997) Can't Search field (1998) Was 5.0 Pricing, now Sandbox versus Website and ruminating (2003) [WebDNA] Grep (2009) SSL do I need it?? (1998) forms and variables (1998) Lookups (2000) trouble updating records in database (1998) Searching Relational Databases (2004) WebCat2_Mac RETURNs in .db (1997) Changing price for a SLU based on options (size, etc.) (1997) alternatives for WebDNA (2004) MacWEEK article help needed (1996)