LOOK HERE! It's very important that you add ".png" after the name of your image at *download=""* . So that windows can directly recognize it as a PNG file (Image file with transparency). Otherwize the "Open with..." window wil pop up. Same applies with the music. Just add ".mp3" after the name at *download=""* .
I'm using html 5 and I have my files in a sub-directory. When I hit the browse, it gives me the correct address yet, I'm getting a "no file found" message. Can you clarify? I want my fans and future hires to be able to download my high resolutions jpgs. Thanks!!!
I have a question. I do link a certain pdf file in Google Drive. So, how to ensure that when I press the download button, it will automatically download the pdf without pop-up the file in Google Drive?
yes it do not work in case of internet explorer.. i was searching for some plugins like file-saver.js but i couldn't able to download for image. My code is: - let base_image = new Image(); base_image.src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=='; return ( FileSaver.saveAs(base_image.src, "image.png")}>DOWNLOAD Plz help
hey man I use wix to create my website ,I also want to add download button through HTML can u plz help me??? As u used logo.png ,I just want to where the file is located logo.png in your computer means I want to know whether it is your computer or stored online somewhere???
Okay I’m creating a website to sell books and will either be PDF or EBook. Will the same function work if I replace .png or .mp3 with PDF and EBook? Thanks awesome tutorial I enjoyed it!
Hi could you please tell me how to download mp4 file , I tried same way its opening in new browser , I need to download locally ,Do you have any solution for this kind?
Hi, Actually download attribute is not supported in any of internet explorer versions. Please refer this link to see the support for this attribute. caniuse.com/#feat=download
You might wanna check this stackoverflow discussion. stackoverflow.com/questions/18652750/any-fallback-client-side-solutions-for-the-html5-download-attribute Also you can try download.js, which is supported IE-9 and above. danml.com/download.html
Hey can you just answer why my file when start to download says that the file was not found and the download failed. Can you list some reasons this can happen??
i've tried 4 diffrent videos for it , all show the same , did the same exact thing and still cant get the download link in browser .. either browser don't support it or the attr simply doesnt work :x
Hey, I have used the download attribute in the anchor tag, but still after clicking the link it does not downloads it, rather it open the file in the tab. I am using chrome. What can I do to fix it? Please help me.
LOOK HERE! It's very important that you add ".png" after the name of your image at *download=""* . So that windows can directly recognize it as a PNG file (Image file with transparency). Otherwize the "Open with..." window wil pop up.
Same applies with the music. Just add ".mp3" after the name at *download=""* .
you could make it in pure html, it is called the tag
Bro awesome . It's great . Love from 2021
thank u a lot! i finally found what i really wanted to do
I used (download) at the end of tag but it still takes me to the music page not downloading the mp3 file
Same
me too
Try using Firefox (if you are using Google Chrome)
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
Thanks a lot! This helped me a lot! You got a new subscriber!
Thank you, me haz salvado, había visto otro vídeos y hacían muchas cosas, solo para descargar el archivo.
THANK YOU SO MUCH!!! SO SO HELPFUL!!! LIFE SAVER
Thankyou for sharing this information .
Its not working on my laptop Every time I click on the link it starts playing song but doesn't download!
Me too bro
For me it worked with .exe files
Try the following ways:-
Your title
You should use Microsoft edge
Thanks for help👍👍
I'm using html 5 and I have my files in a sub-directory. When I hit the browse, it gives me the correct address yet, I'm getting a "no file found" message. Can you clarify? I want my fans and future hires to be able to download my high resolutions jpgs. Thanks!!!
I got it. Realized it was case sensitive and I had some JPG and some jpg. Thanks! It works like a charm!!!
Wow, thanks bro, helps a lot!
nice video
Thanks 🙂
Nice Thnx Bro
Any time
Thank you this helped me
Glad it helped😊
Soo helpful
Thanks good info
Hi, I am glad you found it useful! :)
Very Helpful.
THANK You
Fantastic bro Nice information 👌✌️
Thank you so much for this tutorial
very interesting thank you
thank .. i did it ..successfully
Awesome. I just couldn't get it to download on Chrome, Firefox and Edge
Awesome.! Great. Thanks a lot.!
Hi, it's a great pleasure! :) Thanks for watching this video.
amazing bro
Thanks! Please consider subscribing to the channel for getting more contents. 😊
I think you should start using vscode
or visual studio
those are the best ides
Thanks! Your suggestions are highly appreciated. I am already using Vscode nowadays. It's fantastic ☺️.
Dude your videos are so to the point it’s awesome !
thank you so much dear, your tutorial is great
I really appreciate you liked the video. Thank you. 🙂
this helped a lot
Thank u so much bro
I am sure that you will upload this types video thank you
Hi Subodh, Thank you for watching the video. I have been really busy and I am pretty sure I will start uploading more and more videos soon.
Really Helpful For Me..
But how to Implement this in wordpress or blogger to let our users download Images From our website..
Thanks bro appreaciate it
thanks a million
I have a question. I do link a certain pdf file in Google Drive. So, how to ensure that when I press the download button, it will automatically download the pdf without pop-up the file in Google Drive?
At 2:52 Is where he shows you how to make it downloadable. Get right to the point next time.
I want to set one dll file in download buton,how to do that?
thanks its work with me
hi bro ,it does download in chrome please ...how can solve that ...it only worked for me in Firefox...but i would like it download in chrome too
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
How can we use it to download the same whole html page while browsing it
Nice sharing. but its not working on firefox and internet explorer and old browsers. please help
yes it do not work in case of internet explorer..
i was searching for some plugins like file-saver.js but i couldn't able to download for image.
My code is: -
let base_image = new Image();
base_image.src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==';
return (
FileSaver.saveAs(base_image.src, "image.png")}>DOWNLOAD
Plz help
hi there im also redirected but to the play page rather than downloading. Any help?
i have very simple question is this code also able to be use for android type devices..meaning they could download content from a website?
i think yes
Thank you!
Your welcome Shaun! I'll really appreciate if you can leave any feedback or suggestion you might have for the channel.
Thanks!
Amit
I can't make it work in google chrome
Seba Contreras yeah me too...it just navigates to the image and music
@@srivignesh3826 I have a feeling they removed this
It's still working for me. Make sure the file you are trying to download is actually saved on your computer.
hey man I use wix to create my website ,I also want to add download button through HTML can u plz help me???
As u used logo.png ,I just want to where the file is located logo.png in your computer means I want to know whether it is your computer or stored online somewhere???
Okay I’m creating a website to sell books and will either be PDF or EBook.
Will the same function work if I replace .png or .mp3 with PDF and EBook?
Thanks awesome tutorial I enjoyed it!
So if i upload the .ZIP file next to the .HTML file in a server that's named .htdocs, will it work?
Most probably it should! I haven't tried doing that though. 🙂
can you use it to download a folder with files inside?
yes, but zipo recommended cuz it downloads faster
Mine its playing the music not downloading why ?
i need help my files doesnt apear in my web the file name is keymaker.exe
@Axel Steiner nah nvm got the solution
Well it kind of works. But when I click the button, it downloads as "Failed - No file", even tho the file is in there
me 2
Hi could you please tell me how to download mp4 file , I tried same way its opening in new browser , I need to download locally ,Do you have any solution for this kind?
does it works even if my files are on google drive and i will paste the link to download?
create button like "press and it downloads 4 files" is possible ?
Thanks you brother
thanks boy
hello ..
image do not download in case of Internet Explorer.
Hi, Actually download attribute is not supported in any of internet explorer versions. Please refer this link to see the support for this attribute. caniuse.com/#feat=download
ok..
so, do you have any other way to download image in 'internet explorer'.
i need it ..
(any other plugins or like that)
You might wanna check this stackoverflow discussion. stackoverflow.com/questions/18652750/any-fallback-client-side-solutions-for-the-html5-download-attribute
Also you can try download.js, which is supported IE-9 and above. danml.com/download.html
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
i cant make this work on chrome,any suggestions please
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
thank you so math
Hey can you just answer why my file when start to download says that the file was not found and the download failed. Can you list some reasons this can happen??
Did u put the file in the folder of the page?
@@angellyclouds4520 Yup, but now it works
I did some things and now it does work
Is there a way to make it only to download one time?
this will work if i host my website????????
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
yes
Sir, i am making a blog & i have the source file for movies in my desktop, now i want it to b downloadable by other.. So how to proceed?
I think you need to upload your files on Google drive then add the link to download. I hope you got help from this.
when am pressing the button its open a page but its the code from my file (Noob OS.vbs)
its FAKE
my file said its not found
THANK YOU!!!!
Does this work for document files
This still doesn't work in my case. Any suggestions? Code exactly the same.
Which browser you are using?
@@smashtheshell Sorry my bad. It did not work locally but when I uploaded it on server it started to work.
Sorry....
does it work on zip files?
because i want to make a downloadable zip file
What about apk file,how to do that
i would suggest Zip it and allow the user to download the zip file
@@lohithkumar6922 thank u
I am not getting to download in any browser .what was the problem behind .pls tell me the solution for that
i've tried 4 diffrent videos for it , all show the same , did the same exact thing and still cant get the download link in browser .. either browser don't support it or the attr simply doesnt work :x
why is it saying file not found for me because my image is still in the computer
Sorry for late response... connect with me on twitter/fb for the help if you're still having issues with it. 😊
Can you make a software with Dll files
Thank you
it my pleasure! :)
Nice Video, but when I try it on my website it just keeps saying network error, do you have any advice. Thanks
It is not working it only displays an image. Please advise. Thanks
how am i able to code to be able to download audio files ?
Hey,
I have used the download attribute in the anchor tag, but still after clicking the link it does not downloads it, rather it open the file in the tab.
I am using chrome.
What can I do to fix it?
Please help me.
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
Thanks a lot but how can i apply it for PDF
I am trying this on python file but it's not working.
bahi css3 software download krna hai
hi in explorer ???
Thanksyou
You’re welcome 😊
YEET!!!!
says no file found to me its a mp3 i checked
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
what about folder
can't download image
It says file couldnt be accessed plz help
Please help😪😪😪😭😭
Thanks
💕💕💕💓💓💕💕💕💕💕💕
He just show the document... Please i need help !
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
but whe you will upload yourwebsite it will not work
This will not work if the origin is not the same. (same origin policy)
Hey ! Bro This codding not working...
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
can not make it chrome why?
Can u give the code? With css
not downloading for me
if not working download attribute check this out-th-cam.com/video/azssOhJsLEw/w-d-xo.html
this is not working on in google 88.0.4324.150
I think you should use repl. Then open the code into a new tab.