![]() |
|
|
|||||||
![]() |
HTML - Displaying Images from a Web page |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
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 Slaphead |
|
|
|
|
#2 |
|
Posts: n/a
|
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. -- -bts -This space intentionally left blank. |
|
|
|
#3 |
|
Posts: n/a
|
On Sat, 11 Sep 2004 01:35:26 +0100, Slaphead <>
wrote: > 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. |
|
|
|
#4 |
|
Posts: n/a
|
Slaphead wrote:
> 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...ML/realpgd.htm or use this http://tiny-url.com/8v Chapter 7: http://service.real.com/help/library...ix.htm#1056259 -- Jan icq 169389999 http://213.47.90.11 |
|
|
|
#5 |
|
Posts: n/a
|
Quoth the raven Jan Clemens Faerber:
> Slaphead wrote: > >>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. > > You can use RealPlayer: Hmph. I wouldn't recommend RealPlayer to anyone. For any purpose. -- -bts -This space intentionally left blank. |
|
|
|
#6 |
|
Posts: n/a
|
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? -- Jan icq 169389999 http://213.47.90.11 |
|
|
|
#7 |
|
Posts: n/a
|
In article <3XD0d.22051$>, Beauregard T.
Shagnasty () dropped a +5 bundle of words... > Quoth the raven Jan Clemens Faerber: > > > Slaphead wrote: > > > >>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. > > > > You can use RealPlayer: > > Hmph. I wouldn't recommend RealPlayer to anyone. For any purpose. IAWTP. Real is ****. -- Starshine Moonbeam mhm31x9 Smeeter#29 WSD#30 |
|