473,666 Members | 2,474 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1808
In article <12************ **************@ posting.google. com>,
wl********@asta pronto.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
2484
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 image (eg left, right, middle). This MUST be possible using Javascript...and I have thought about using the command
14
11074
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 window.open function? I would prefer not to create a separate HTML page. So far all I have is the basic var cwin = window.open('images/KJV-THANKS.gif', 'Thanks', 'width=243,height=420,'); cwin.focus();
3
2056
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 have done something weird. I also tried Html Image control and the same affect experienced. My goal is to create "hotspots" on the image. I m using VS.Net 2003 EA edition on my XP Pro Sp1 and .net FW 1.1 Thanks for your help,
7
4409
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 project folder (for example, WindowsApplication1). 2)From the shortcut menu, click Add, then choose Add New Item. 3)In the Categories pane, expand the Local Project Items folder, then choose Resources. All goes well until STep 3. When expanded,...
5
3377
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 -- Message posted via DotNetMonster.com
9
2267
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 bottom of the image without any coding at code-behind because the resulting page will display only the image. Rajesh
6
3186
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
10109
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. The properties look the same whether I use XP or 2003 versions of Office. If I take an earlier version of Access and link the image, it puts the image. I can also see the image in 2003. If I link the image using 2003 it only shows the filename....
2
2360
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 when you upload image it will go to another page and says ]((unable to create emp directory)) Here is a site to be able to see script actually work http://tech.tailoredweb.com/image-editor-52/ and can be DL from there also. I am using FP 2003 and...
0
8352
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8863
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8780
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8549
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6189
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5661
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4358
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2005
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.