Link to home
Create AccountLog in
JavaScript

JavaScript

--

Questions

--

Followers

Top Experts

Avatar of Srujani Duvvapu
Srujani Duvvapu🇳🇴

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

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Scott FellScott 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

Avatar of Srujani DuvvapuSrujani 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
Avatar of Rainer JeschorRainer Jeschor🇩🇪

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

JavaScript

JavaScript

--

Questions

--

Followers

Top Experts

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.