brucie <br******@loser.brucies.com> wrote:
I don't know if it is possible but i would like to permit people
to download a JPG picture just by clicking on it.
if they can see it they've already downloaded it.
Indeed. And the FAQ _has_ something about this. Actually, quite a lot.
tell them to left
click on it and drag it to their location of choice (file sys,
graphics program etc etc). or right click and "save as..." or
whatever else the browser/OS your visitors use will let them do.
Or don't. It would be redundant and even irritating to many users.
While it might help a small minority (who understand the instructions -
remember that communication always fails! - but did not know the method
already), it would confuse some other minority, such as people using
"different browsers".
The idea of using
<a href="adress_of_the_JPG_file"> <img
src="adress_of_the_JPG_file"></a>
is interesting, and has some basis in the HTML 2.0 (sic) specification,
which reminds us the fact that some browsers can deal with linked
images but not embedded images. For example, it would be much easier to
download the image using Lynx when there's a link. Naturally the <img>
element shall have an alt="..." attribute, for this purpose and many
others.
But adding download="true" would be pointless, since no such attribute
exists, or needs to exist.
--
Yucca,
http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring:
http://www.cs.tut.fi/~jkorpela/www.html