Re: JPG Force Download
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69226
interpreted = N
texte = HiI 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#BinaryBodyCheers========================================Steve Craig - Asylum Interactive LtdTel +44 1330 860550 Fax +44 1330 860880========================================http://www.asylumweb.comEmail: steve@asylumweb.comSkype: 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:
HiI 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#BinaryBodyCheers========================================Steve Craig - Asylum Interactive LtdTel +44 1330 860550 Fax +44 1330 860880========================================http://www.asylumweb.comEmail: steve@asylumweb.comSkype: 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)