Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

129
Views
I want to download a file from cdn using a tag but it is opening file in browser

http://localhost:3000/models/view/6ea6e605-fc3f-4fdd-8778-0066d569d667

this is my file url and i want to download file from using a tag but the file open's in browser

trying to download file from a tag

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Assuming that you are going to download an image following is the way to do it.

<a download="filename.jpg" href="/path/to/image" title="ImageName">
    <img alt="ImageName" src="/path/to/image">
</a>

And note that path/to/image is an important notion here.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!