Chrome Download Attribute not working
After some research I have finally found your problem.
<a> download attribute:
If the HTTP header Content-Disposition: is present and gives a different filename than this attribute, the HTTP header has priority over this attribute.
If this attribute is present and Content-Disposition: is set to inline, Firefox gives priority to Content-Disposition, like for the filename case, while Chrome gives priority to the download attribute.
Source
HTTP-Header Content-Disposition
A hyperlink download attribute not working
it turns out, my problem is conflicted by same origin urls. Apprently, I am rquesting from different hosts/site, for further explanation see : https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy
Download attribute is not working on Chrome
Try this:
<a target="_blank" download="mylogo" href="san-francisco.jpg" title="ImageName">
<img alt="ImageName" src="san-francisco.jpg" width="104" height="142">
</a>
If it wasn't for this:
download attribute:
If the HTTP header Content-Disposition: is present and gives a different filename than this attribute, the HTTP header has priority over this attribute.
If this attribute is present and Content-Disposition: is set to inline, Firefox gives priority to Content-Disposition, like for the filename case, while Chrome gives priority to the download attribute.
Source
HTTP-Header Content-Disposition
download attribute doesn't working on chrome
<a> download attribute
If the HTTP header Content-Disposition is present and gives a different filename than this attribute, the HTTP header has priority over this attribute.
If this attribute is present and Content-Disposition is set to inline, chrome gives priority to Content-Disposition.
Related Topics
How to Make a ≪Ul≫ Display in a Horizontal Row
How to Close ≪Img≫ Tag Properly
Use CSS Gradient Over Background Image
How to Set Relative Path to Current Folder
How to Specify a Starting Number for an Ordered List
How to Post/Submit an Input Checkbox That Is Disabled
How to Include a Font .Ttf Using CSS
How to Center an Unordered List
Second Line in Li Starts Under the Bullet After CSS-Reset
Why Anchor Tag Does Not Take Height and Width of Its Containing Element
Youtube Autoplay Not Working on Mobile Devices With Embedded Html5 Player
Stretch Text to Fit Width of Div
Do We Still Need Forward Slashes When Closing Void Elements in Html5
Using CSS Td Width Absolute, Position
How to Put Text Over Images in HTML
Add a Horizontal Scrollbar to an HTML Table
Html/CSS - Best Practice for Preserving White Space on Certain Elements