davy_yg's avatar
Level 27

clickable image

How to replace a browse file button with a clickable image that could upload file?

I have the image but do not know how to turn the image into a browse button.

0 likes
2 replies
deGecko's avatar
deGecko
Best Answer
Level 3

Create the button and position the input[type=file] right on top of it using position absolute. And reduce the opacity to 0.

Please or to participate in this conversation.