Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am creating an beego web application . I have two html views by now, One is login and other is landing page. I want to give an add image option for the logged user i.e in landing page. Can any one suggest me how to do it in HTML while using Beego as an web framework. Here is my landing page,

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<title>Platform</title>
<link rel="shortcut icon" href="../static/img/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="../static/css/font-awesome.css">
<link rel="stylesheet" type="text/css" href="../static/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="../static/css/master.css">

<!--[if lt IE 9]>
<script src="../static/js/html5shiv.min.js"></script>
<script src="../static/js/respond.min.js"></script>
<![endif]-->

<script src="../static/js/jquery-latest.js"></script>
<script src="../static/js/bootstrap.js"></script>
<script src="../static/js/placeholder.js"></script>
<script src="../static/js/multiple-accordion.js"></script>


<!--[if lt IE 9]>
<script src="../static/js/html5shiv.min.js"></script>
<script src="../static/js/respond.min.js"></script>
<![endif]-->

</head>
	<body> 	
		<div id="menuHead">
			<header class="top">
				<div class="container-fluid">
				    	<aside class="logo"><img src="../static/img/logo.png" alt="ABCD" class="img-responsive"></aside>
        
			        <aside class="top-right">
				        	<div class="profile">
				            	<ul>
				                	<li class="name"><img src="../../static/img/profile-img.jpg" alt="abc"> 
									<a>{{ .userName }}</a></li>
			                    <li class="logout"><a href="/logout">Logout</a></li>
			                    <li><a href="#">Contacts</a></li>
			                    <li class="last"><a href="#">Help</a></li>
			                </ul>
			            </div>
            
		            <div class="login-time">
			            	<ul>
			                	<li><span>Current Login:</span> Mon 22 Sep 2014 03:28 PM</li>
		                    <li class="last"><span>Last Login:</span> Sun 21 Sep 2014 02:28 PM</li>
		                </ul>
		            </div>
		        </aside>
	    </div>
	</header>

	</div>
  <div id="menuMain">    			
		<iframe src="/commonMenu" frameborder="0" height=83%></iframe>    			
	<div id="contentFrame">
	    		<iframe  name="iframeContent" frameborder="0" width=100% height=480px></iframe>    	
	</div>    			
	</div>  	
	<div id="menuFooter">    		
		<footer>
	    		<div class="container-fluid">
    	  			<article class="copy-right">
        				<p>Copyright &copy; 2015 <p>
        		    		<p>Need Help? Contact us on <span>01-8449207</span> (available 24 hours a day, 7 days a week including public holidays or call our Client Access Managers on <span>+91-</span> or Send an email to <a href="mailto:[email protected]">[email protected]</a></p>
        			</article>
    			</div>
		</footer>
	</div>																															
	</body>
</html>

instead of showing image in my above web page I want an option to upload or add image. thanks in advance

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.