I can download file(image/video) with custom name from same server using
<a href="img/a.jpg" download="test.jpg>
But can't download with a custom name when the src(href) is a remote source.
<a href="http://example.com/img/a.jpg" download="test.jpg>
How to solve the problem?
I found the same type of problems here,but nothing solves my problem.