Displaying Images from a Web page

S

Slaphead

I want to display an image file by clicking on an icon on a web page.
I have the following piece of html.

<a href="docs/picture.jpg"> <img border="0" src="images/image.gif"
width="30" height="25" border="0" alt="Document Image"></a>

This works in as much as the picture.jpg opens up in the brwser. I
want the image to open up in the users default jpg viewing application
not in the brwser. Can I set it to do this.

Cheers
 
B

Beauregard T. Shagnasty

Quoth the raven Slaphead:
I want to display an image file by clicking on an [link] on a web
page. I have the following piece of html.

<a href="docs/picture.jpg"> <img border="0" src="images/image.gif"
width="30" height="25" border="0" alt="Document Image"></a>

This works in as much as the picture.jpg opens up in the brwser. I
want the image to open up in the users default jpg viewing
application not in the brwser. Can I set it to do this.

No. The visitor may not even have a graphics viewing program. Or,
typically, the browser may be the default jpg viewer.

IOW, you cannot specify, except to tell them to right-click on the
picture, save it to their hard drive and open it with the application
of their choice.
 
N

Neal

I want to display an image file by clicking on an icon on a web page.
I have the following piece of html.

<a href="docs/picture.jpg"> <img border="0" src="images/image.gif"
width="30" height="25" border="0" alt="Document Image"></a>

This works in as much as the picture.jpg opens up in the brwser. I
want the image to open up in the users default jpg viewing application
not in the brwser. Can I set it to do this.

Cheers

As BTS said, no, the browser settings determine which program opens the
file.

But let me mention two things. Using border="0" (whether one or twice!!)
means you're removing the most obvious sign that this is a link, so be
sure to make it painfully obvious in context that it's clickable. Also,
I'm sure you did this just for the example, but make the alt text a
suitable replacement for user agents which cannot display the image.
 
J

Jan Clemens Faerber

Slaphead said:
I want to display an image file by clicking on an icon on a web page.
I have the following piece of html.

<a href="docs/picture.jpg"> <img border="0" src="images/image.gif"
width="30" height="25" border="0" alt="Document Image"></a>

This works in as much as the picture.jpg opens up in the brwser. I
want the image to open up in the users default jpg viewing application
not in the brwser. Can I set it to do this.

Cheers

You can use RealPlayer:

http://service.real.com/help/library/guides/realone/ProductionGuide/HTML/realpgd.htm
or use this http://tiny-url.com/8v
Chapter 7:
http://service.real.com/help/librar...uctionGuide/HTML/htmfiles/realpix.htm#1056259
 
J

Jan Clemens Faerber

Beauregard T. Shagnasty wrote:

Hmph. I wouldn't recommend RealPlayer to anyone. For any purpose.

Then make a slide show with Windows Movie Maker for .wmv-format?
 
S

Starshine Moonbeam

Beauregard T. said:
Quoth the raven Jan Clemens Faerber:


Hmph. I wouldn't recommend RealPlayer to anyone. For any purpose.

IAWTP. Real is shit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top