I was wondering how I go about making an file upload input appear as an image.
For example, Facebook and Twitter have image icons for their image file uploads.
Thank you,
Brian
Copy and paste your image URL into an IMG tag, add a SRC to it. Identify first where you'd like to place your image within the HTML and insert the image tag, <img>. Then take your uploaded image, copy the URL and place it within your img parameters prefaced by a src.
Uploading is the transmission of a file from one computer system to another, usually larger computer system. From a network user's point-of-view, to upload a file is to send it to another computer that is set up to receive it.
The 'input' has a style: display:none;
, than just do:
$('#upload_img').click(function(){
$('#upload').click();
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With