Hi,
How can I force a download for the following file extensions:
gif, jpg, jpeg, png, psd, bmp, tiff, dib, tif, jpe, jfif, swf and txt.
I'm having trouble finding a code that will support all of them.
Thanks in advance,
Oli
Printable View
Hi,
How can I force a download for the following file extensions:
gif, jpg, jpeg, png, psd, bmp, tiff, dib, tif, jpe, jfif, swf and txt.
I'm having trouble finding a code that will support all of them.
Thanks in advance,
Oli
What do you mean? Force a download for those exntesions :s
If you try and force an image download, it will just simply open in the browser right?
That's what I thought. Because if you load an exe it will force it's download, but if you load an image it will show the image. There must be some way of forcing the download of forcing "Save Image As...".
lol mostly impossible anymore to force downloads cause it will always come up with open with:
or save to: window in firefox and it'll always come up to were you want to save it too.
Ah i do not actually think this is possible all i can suggest is saving it as a zip :)
My website is an image, text and flash host (www.urload.com). If I created a zip for every file that's been uploaded it would eat up my bandwith a lot more.
Hm then i don't think its possible, try www.google.com :)