"input type file chang icon Anirudha Bhowmik"
Bootstrap 4.1.1 Snippet by anirudhabhowmik

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="profile_view"> <img src="images/profile-blank-image.jpg" id="blah" alt="Profile Image"> <input type="file" onchange="readURL(this);"> <label class="upload-tag"><i class="fa fa-camera"></i></label> </div>
.profile_view{ height: 110px; width: 110px; overflow: hidden; position: relative; } .profile_view img{ width: 100%; border-radius: 50%; border: 1px solid #c1c1c1; } /*.file_upload{ position: absolute; z-index: 1; top: 38px; right: -316px; }*/ .profile_view input[type=file] { opacity: 0; position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; display: inline-block; z-index: 100; cursor: pointer; } .upload-tag { position: absolute; right: 0; bottom: 50%; z-index: 1; color: #000 } #imageUpload_input{ opacity: 1; }

Related: See More


Questions / Comments: