Link to home
Start Free TrialLog in
Avatar of coolpatrick
coolpatrick

asked on

Dynamic loading and displaying of image in client side

Hello.

Hai this is a hard question i can understand , i am in a situation where i have to display the images from clients place and using a file control i am searching a file and when i say ok i have to display the image on screen in client side itself and after my confirmation i have to upload to the repositary in server, direct upload is possible, whether the viewing is possible, if so please do let me have your views please,

patrick
Avatar of boughtonp
boughtonp

To upload I would use a server-side language such as CFML or PHP for this... but that would depend on what the server had?

For the client side displaying, that is easy... something like this would work:
<input type="file" name="file1"/><br/>
<input type="button" value="View" onclick="image1.src = file1.value"/>
<img id="image1" src="noimageyet" alt="Preview"/>
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
   In the absence of responses, I may recommend DELETE unless it is clear
   to me that it has value as a PAQ.  Silence = you don't care
</note>

Cd&
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
points to boughtonp

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
ASKER CERTIFIED SOLUTION
Avatar of Chmod
Chmod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Oops, I accepted the wrong answer - Points for boughtonp are at https://www.experts-exchange.com/questions/20552168/Points-for-boughtonp-20416053.html