Using javascript I convert a jpg into data url (I get a string like data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQAB...), the url I get is working as href in Firefox, but it is not working in Chrome. Do you have any suggestion? Maybe there's a limit in Chrome?
EDIT:
I use the data url as href in an anchor with attribute download (link should force an open/download popup)
If I pass a smaller image it's working on Chrome
You can see an example here:
https://jsfiddle.net/ex180Lyu/
<a href="data:image/jpeg;base64,/9j/4AAQSkZJR..." download="image.jpg">CLICK</a>
It's working in Firefox but not in Chrome