href pictures to a Theme'd page

C

Craig Pfau

I have created a photo gallery which all works fine, but what I would like
to do is when I click on a link in the gallery I would like to have the
picture pull up on a page that has a theme on it instead of the default
white page with nothing else but the picture.

Can someone point me in the direction I need to go? Hlink, Xlink? Some
form of parameter passing wit java? Or maybe I am overlooking the obvious
cuz I haven't done this forever.

Thanks
Craig
 
E

E. T. Culling

You'll need to build a new page for each large image and link to them from
regular thumbnails ... not a photogallery.
Eleanor
 
C

Craig Pfau

No there is a way using some html/xml code but I can't remember how it went.
I refuse to make 800+ pages when all I need is one single page and a script.
I know I may have to dump the photo gallery but. . .

I think it was to use hlink or some other xml type in the code to pass a
variable or something and I don't have the old pages I did using that method
anymore.

Maybe I will have to check out porn sites to see how to do it again. Maybe
I am posting in the wrong group, sorry if I am, just thought someone would
be able to point me where I needed to go (besides hell.)

But thanks for the suggestion.

Craig
 
T

Thomas A. Rowe

If you are hosted on a server that support using ASP, then see Developer
Resources | Scripts on my site below where you can pass the image name to a
single page for displaying.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
C

Craig Pfau

That will work fine! Thank you very much!

Craig

PS Very Nice site too by the way!
 
C

Craig Pfau

For anyone else out there that is in the need to know catagory!
(Special Thanks to Thomas) The one caveate is you will need a server
supporting Active Server Pages.

To have your photogallery link to a themed page instead of a blank one. . .
Create a page with a theme and anything else you want on that page and put
the following line where ever you want the picture <img
src="<%=Request("image")%>"> This can also be formatted with width and
size limiters or whatever else if you like.

In the photogallery's real.htm page locate the "a href=" tag and put the
following before the name of the picture file and after the directory where
the picture is located. "displaypic.asp?image=" but don't put the quotes.
For example . . .
<a href="../../Sturgis/Images/2001/displaypic.asp?image=scan.jpg">

I have mine opening in the main frame of the window. Works just slick! It
did take some time updating the links, but it is a whole lot better than
creating a page for every pic or creating my own custom photogallery pages.

Craig

PS This is easier than I remember! I can't thank you enough Thomas.
 
T

Thomas A. Rowe

Craig,

You are welcome.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
C

chris leeds

Just watch that the fp doesn't ruin the real.htm page if you right click and
add pictures etc. through the gallery dialog box.
 
Top