Avatar of Srujani Duvvapu
Srujani Duvvapu
Flag for Norway asked on

image

I have a browser button ,when i browse that one the path will be displayed, but not the picture what can i do to saw the picture.

<div class="float-left margin-bottom" style= "height:200px width:200px">
						<span class="stack" id="pic1">
						<img src="img/demo/gallery/picture-5.jpg">		
 				        </span>
					</div>	
					<div class=" field-block button-height">
							<span class="input file"><span class="file-text"></span>
							<span class="button compact">Browse..</span>
							<input name="file-input" id="file-input" value="" class="file withClearFunctions" type="file"></span>
						
					</div>

Open in new window


this is the coading.

can u pls help me
JavaScript

Avatar of undefined
Last Comment
Rainer Jeschor

8/22/2022 - Mon
Scott Fell

It is a little unclear as to what you are asking.

I think you are asking about uploading an image?  The browse button just grabs the path then you are supposed to have server side code to accept the file.  

Are you looking for something like ckfinder?  http://cksource.com/ckfinder
Srujani Duvvapu

ASKER
I couldn't understand u r answer.
if i can browse some image from my files that could be viewed in  here.

                                            <span class="stack" id="pic1">
                                    <img src="img/demo/gallery/picture-5.jpg">            
                                 </span>

i miss the simple logic.
ASKER CERTIFIED SOLUTION
Rainer Jeschor

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23