Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - Displaying Images from a Web page

 
Thread Tools Search this Thread
Old 09-11-2004, 01:35 AM   #1
Default Displaying Images from a Web page


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
  Reply With Quote
Old 09-11-2004, 02:05 AM   #2
Beauregard T. Shagnasty
 
Posts: n/a
Default Re: Displaying Images from a Web page

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.
  Reply With Quote
Old 09-11-2004, 06:23 AM   #3
Neal
 
Posts: n/a
Default Re: Displaying Images from a Web page

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.
  Reply With Quote
Old 09-11-2004, 03:20 PM   #4
Jan Clemens Faerber
 
Posts: n/a
Default Re: Displaying Images from a Web page

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
  Reply With Quote
Old 09-11-2004, 03:27 PM   #5
Beauregard T. Shagnasty
 
Posts: n/a
Default Re: Displaying Images from a Web page

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.
  Reply With Quote
Old 09-11-2004, 03:45 PM   #6
Jan Clemens Faerber
 
Posts: n/a
Default Re: Displaying Images from a Web page

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
  Reply With Quote
Old 09-11-2004, 11:45 PM   #7
Starshine Moonbeam
 
Posts: n/a
Default Re: Displaying Images from a Web page

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






  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump