473,398 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

How to lauch an image editor when click on an image link ?

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
Jul 23 '05 #1
2 1793
In article <12**************************@posting.google.com >,
wl********@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

Jul 23 '05 #2
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
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Edd | last post by:
Hi, I have built a basic WYSIWYG HTML editor using Javascript the ExecCommand commands. What is fustrating me is that, according to the MSDN site, there is no way to set the alignment of an...
14
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a...
3
by: WJ | last post by:
I dropped an Image server control on an Asp.Net page, specified my desired image, saw the nice image, select the control. However, the VS.Net IDE/Image Editor tools are still grayed out ! I must...
7
by: Dennis | last post by:
I am trying to use the Image Editor to add a resource to my VB.Net project. The instructions from the help file are: (I have Vs.Net 2003, Pro edition) 1)In Solution Explorer, right-click the...
5
by: aiki727 via DotNetMonster.com | last post by:
Hello everyone, Where do I store a bitmap or jpeg that I am using for a forms background image when I deploy the application? Or do I link these files to the app during the deployment? Thanks...
9
by: Rajesh | last post by:
Hi all, Im gonna display a list of images in an aspx page from sql server Db.Each image has a link.When someone clicks the image i want the width and size of the image to be displayed at the...
6
by: Karl | last post by:
Hi, Ok so on a given page I have 4 text links: see it in black see it in blue see it in red see it in green using the standard swap image behavior, clicking on one of the above links
7
by: needin4mation | last post by:
Hi, I have an Access 2002 - 2003 database. I am using Access 2003. Whenever I link an image all it shows is the filename. Not the image. Other versions of Access can link the image just fine. ...
2
by: Poppa Pimp | last post by:
ImageResizer.php Image Resizer PLEASE HELP The URL of the page this is on in my site is http://poppa-pimps-wallpapers.com//ImageResizer.php You can click on browse and get image,but...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.