html save image to android and ios device

I am creating a mobile website based of HTML5 and CSS3. I am trying to find information about the following function:

Is it possible to download via a link an image from a mobile website to Android or iPhone device ?

but I didnĀ“t find any information about.

Answers


You shoud use download attribute:

<a href="image.jpg" download>Download</a>

You can read more on w3schools.com


Need Your Help

Implement System.Web.Caching.Cache Object in a controller to cache specific query

c# asp.net .net asp.net-mvc caching

Is it correct to implement my caching object like this in my controller :

Is there something similar to WPF DataTemplates in GTK/Glade?

templates gtk glade

I am coding a pyGTK application, and I'd like to change an input based on the user's selection from a ComboBox. For example, a user could select truck/car/van, and the input parameters would change