Wlad wrote:
Hi,
Does anybody knows how to make the browser lauch an external image
editor (i.e. Photoshop) when the user clicks on a link like this :
<a href= "http://localhost/images/200411081456170.Nenuphars.jpg">Image</a>
You can't because you have no idea what software a user has installed,
and even if you did, you have no right to select which one the user
wants, nor whether they actually want to edit the image. Just ask the
user to save the image and launch their own editor.
Secondly, that URI is useless for anyone but you because it's referring
to the user's local machine. If you were to publish a page on the web
containing a URI like that, the image would only show if the user had a
web server set up, and had an image with that exact file name and path.
The chances of that are slim, and I suspect that even if there were,
the browser would also have security features to prevent web sites
acessing the localhost like that, so that an author can't arbitarily
run/access a users files.
--
Lachlan Hunt
http://lachy.id.au/ http://GetFirefox.com/ Rediscover the Web
http://SpreadFirefox.com/ Igniting the Web