hyperlinking pictures to gallery

  • Thread starter Thread starter Megan
  • Start date Start date
M

Megan

How do you hyperlink to a picture in the photo gallery
and have the link go directly to the photo in the
gallery? When I try to hyperlink to a photo it just
brings up the single pic. on a new page.
 
-----Original Message-----
How do you hyperlink to a picture in the photo gallery
and have the link go directly to the photo in the
gallery? When I try to hyperlink to a photo it just
brings up the single pic. on a new page.

I presume you used the "slide show" format and if so, I
don't believe there's a way to do what you want.

The selection of individual pictures in the slide show
format depends on JavaScript code that runs on the
browser. And I don't know of any way to send this code a
command that specifies the first picture to display.

Jim Buyens
Microsoft FrontPage MVP
(e-mail address removed)
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
Gonna have to add you to the christmas card list. Thank
you for saving me time! Any suggestions on what other
photo gallery format would be best for this feature?
 
Megan said:
Gonna have to add you to the christmas card list. Thank
you for saving me time! Any suggestions on what other
photo gallery format would be best for this feature?

All the other Photo Gallery layouts display the thumbnails on a single
Web page, and clicking a thumbnail displays the picture only (no
surrounding Web page) in the browser.

If the actual requirement is to display an arbitrary picture in a
formatted Web page, and if you have a Microsoft Web server, then
format the page anyway you want, and place this tag where you want the
picture to appear:

<img src="<%=request("src")%>">

Save this page as, say, anypic.asp. Then, to display a picture, link
to anypic.asp?src=path/mypic.jpg, where path/mypic.jpg is the path and
file name of the picture you want, relative to the anypic.asp page.

If your Web server runs Unix, you can do much the same thing with PHP
or Perl.

Jim Buyens
Microsoft FrontPage MVP
(e-mail address removed)
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
Back
Top