|
Posted by Wlad on November 8, 2004, 7:00 am
Please log in for more thread options
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> The same application can be launched for any image link.
Thank you.
Wlad
|
|
Posted by kaeli on November 8, 2004, 9:06 am
Please log in for more thread options
wladcousew@astapronto.fr enlightened us with...
> 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> > The same application can be launched for any image link.
> Thank you.
It's up to the user to decide to launch a program to open images. You can't
control that. It's a setting in the registry for Windows. I have no clue what
it is for Mac, Unix, Linux, etc.
--
--
~kaeli~
Is it possible to be totally partial?
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace
|
|
Posted by Lachlan Hunt on November 9, 2004, 12:54 am
Please log in for more thread options 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
|
| Similar Threads | Posted | | ANN: Imogen - HTML image map editor | June 15, 2006, 2:29 pm |
| Creating image maps with Adobe Illustrator or Image Ready. | March 8, 2005, 12:42 pm |
| link image border and validation | January 30, 2008, 11:02 am |
| Swap image on clicking a link | June 3, 2008, 6:07 pm |
| How can I replace a large image with other large images triggered from small image icons, mouse-overs or whatever??? | July 26, 2004, 1:34 am |
| Text and Image inside table | Alight Text Left and Image right in same cell ?? | October 24, 2006, 12:55 am |
| html link from browser link to xml editor | September 9, 2004, 5:53 am |
| tag? | November 4, 2005, 2:06 am |
| Image which does not appear | December 19, 2006, 1:33 pm |
| Need help creating a "Click absolutely ANYWHERE on this page" link for an HTML page with no content | February 7, 2007, 5:40 pm |
|