473,379 Members | 1,491 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

How can you offer image files as download... ...and not have browswer window open it?

I need to offer a list of files for download that are Images. Is
there a way to put a link or javascript something in, so the file is
offered as a file, and not interpretted by browswer as a file to be
displayed?
Nov 18 '05 #1
2 894
You could zip it.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"ScriptNFool" <Sc*********@hotmail.com> wrote in message
news:7a*************************@posting.google.co m...
I need to offer a list of files for download that are Images. Is
there a way to put a link or javascript something in, so the file is
offered as a file, and not interpretted by browswer as a file to be
displayed?

Nov 18 '05 #2
Good ideas.

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> дÈëÏûÏ¢ÐÂÎÅ
:OE**************@TK2MSFTNGP12.phx.gbl...
You could zip it.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"ScriptNFool" <Sc*********@hotmail.com> wrote in message
news:7a*************************@posting.google.co m...
I need to offer a list of files for download that are Images. Is
there a way to put a link or javascript something in, so the file is
offered as a file, and not interpretted by browswer as a file to be
displayed?


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Michael | last post by:
I am trying to allow a user to view a PDF in a new window. I currently have this working using the following: <a href="./pdf.do?parameter=01121980" target="top"><b>pdf</b></a> The problem...
6
by: chon | last post by:
I have an ASP page that is sent a file location as a parameter. It opens this file, loads the ADODB.Stream object and does a binary write to the page forcing the download dialog to appear. This...
2
by: Allan | last post by:
Hi all, I have a very long page with a lot of text. Some of this content have links that open a new brower window with more details. However, the new window opens, the original window goes...
3
by: coolsti | last post by:
I need some help here. I am making an application which allows a user to look at a series of picture files one at a time, and enter the outcome of various visual tests to a database. The...
4
by: zborisau | last post by:
Hey good people, I've been given a problem to solve recently - and stuck with the solution for a good 4 days already. i have a link which leads to popup window. the purpose of that popup...
4
by: moondaddy | last post by:
Using vb.net I need to download image files to the client browser where they can save to disk. Below is some sample code I'm using. when I run this the File Download window in the browser says: ...
2
by: ScriptNFool | last post by:
I need to offer a list of files for download that are Images. Is there a way to put a link or javascript something in, so the file is offered as a file, and not interpretted by browswer as a file...
12
by: Lance | last post by:
hey all, first time vb.net 2005 user, after sticking vb6 out for a long time... anyway, using this code ====================== Dim FS As FileStream = File.OpenRead(Filename) Dim theImage As...
9
by: tshad | last post by:
This was posted before but the message got messed up (all NLs were stripped out for some reason). I have 2 labels that hold the name of different images on my .aspx page. <asp:Label ID="Logo"...
7
by: dragiton | last post by:
SA Upload SQL Database variable types (image upload and storage) I am having trouble with the SA Upload utility. The following code used to work correctly. However, I lost my database and had to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.