Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

input file img / input file image

<div class="image-upload">
  <label for="file-input">
    <img src="https://icons.iconarchive.com/icons/dtafalonso/android-lollipop/128/Downloads-icon.png"/>
  </label>

  <input id="file-input" type="file" />
</div>


 // CSS

.image-upload>input {
  display: none;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #input #file #img #input #file #image
ADD COMMENT
Topic
Name
9+5 =