473,402 Members | 2,053 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,402 software developers and data experts.

how to load image on to html page using <input type=file">

hi

i want to dispaly an image on my webpage which is selected using <input type="file">. is it possible. please reply urgent


regards
Mar 30 '07 #1
12 9597
AricC
1,892 Expert 1GB
hi

i want to dispaly an image on my webpage which is selected using <input type="file">. is it possible. please reply urgent


regards
You aren't going to be able to do this with just HTML.
Mar 30 '07 #2
yes i know that, i am asking how to do that

You aren't going to be able to do this with just HTML.
Mar 30 '07 #3
AricC
1,892 Expert 1GB
yes i know that, i am asking how to do that
Provide more information do you want to be able to do anything else with server side scripting or just display an image.
Mar 30 '07 #4
KevinADC
4,059 Expert 2GB
hi

i want to dispaly an image on my webpage which is selected using <input type="file">. is it possible. please reply urgent


regards
PHP or Perl is most commonly used for stuff like this, but other languages could be used: ASP, ruby, python, c++, etc etc etc.

Why is this urgent?
Mar 30 '07 #5
thanks for ur reply

yes it is urgent and i dont know how to use php. so plz send releated code javascript and jsp. i know bothof these. it is urgent.

regards

PHP or Perl is most commonly used for stuff like this, but other languages could be used: ASP, ruby, python, c++, etc etc etc.

Why is this urgent?
Mar 30 '07 #6
KevinADC
4,059 Expert 2GB
can't be done with javascript. jsp maybe, but I don't know jsp at all. Search on script arcives such as www.hotscripts.com for canned applications you can use.
Mar 30 '07 #7
AricC
1,892 Expert 1GB
thanks for ur reply

yes it is urgent and i dont know how to use php. so plz send releated code javascript and jsp. i know bothof these. it is urgent.

regards
We don't write this much code for people. As stated above there are some solutions you can get by googling.
Mar 30 '07 #8
plz give some liks for that code

We don't write this much code for people. As stated above there are some solutions you can get by googling.
Mar 31 '07 #9
KevinADC
4,059 Expert 2GB
search on the archive I posted for you:

hotscripts.com


and search for file-uploader scripts or webpage manager scripts. Or use google and search for "script archives" and find a script somewhere else. I only recommend hotscripts because I have used them in the past, not because they might be any better than another script archive site. Or wait and see if Aric will post a "lik" for the "code".
Mar 31 '07 #10
AricC
1,892 Expert 1GB
. Or wait and see if Aric will post a "lik" for the "code".
Nah Kevin, google for this there are tons of solutions depending on what server language you have available. I'm not going to go find them for you, neither are the other experts. You need to make an attempt at the code if you want some help. Like I said we don't write this amount of code.
Mar 31 '07 #11
ok thanks for your reply
Mar 31 '07 #12
KevinADC
4,059 Expert 2GB
Nah Kevin, google for this there are tons of solutions depending on what server language you have available. I'm not going to go find them for you, neither are the other experts. You need to make an attempt at the code if you want some help. Like I said we don't write this amount of code.
Right on mate, I totally agree. I'm not going to go do a search for anyone, they all have access to the same search engines and websites I do and they can do it themselves. Not that I am looking for any scripts myself..... ;)
Mar 31 '07 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Bhavin | last post by:
Hi I'm trying to set default value for input type file. <input type="File" name="tx_pdffile" accept="*.pdf" class="boxText" value="abc.pdf"> but this value (abc.pdf) doesnt appear in the text...
1
by: Jesper Hermansen | last post by:
Hi! I'm making a system that will generate Winamp-playlists. To make it easy for the user to add a file to the list, I'm using <input type="file">. The problem with this is that I only get...
2
by: Matt | last post by:
If I do the following, the browse text box still cannot see C:/hello world/test.txt. <input type="file" name="fileName" value="C:/hello world/test.txt" size=80> Any ideas? and workarounds...
3
by: Matt | last post by:
If I do the following, the browse text box still cannot see C:/hello world/test.txt. <input type="file" name="fileName" value="C:/hello world/test.txt" size=80> I realize we couldn't set the...
2
by: Laermans_k | last post by:
Hi, Does anyone have a solution to use the <input type="file" id="filechooser"> and the <input type="submit" id="submitbutton"> in 1 button click? I've already tried to create a javascript...
7
by: Drew Berkemeyer | last post by:
I've encounted a pretty strange problem and I'm not quite sure what to make of it. I have a web service that consumes an XML file as well as a few other parameters. This web service works fine...
2
by: Tarkeshwar | last post by:
Hi All, I want to restrict the user from being entering the value in <input type="file">. It works fine in IE but not in Mozilla. I am sending my code also which works in IE and not in Mozilla.Can...
7
by: Tim Slattery | last post by:
I'm trying to handle the onChange event in an <input type="file"> element. In IE, there's no problem: the event fires when a file in the "open" box is doubleclicked, or the "Open" button in the box...
3
by: Gert | last post by:
Would it be possible to access the file CONTENT in codebehind for a standard: <input id="htmlFile" type="file" /> Then in codebehind: foreach (string keyName in...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.